Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 210.6 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.8019/0.8019, allocations: 154.1 MB / 466.6 MB, free: 3.332 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.Volumes.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.Volumes.Reservoir,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Reservoir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 83.88 kB / 0.6438 GB, free: 28.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.287, allocations: 88.78 MB / 0.7305 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Reservoir): time 0.03247/0.3195, allocations: 35.49 MB / 0.7651 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.3328, allocations: 12.32 MB / 0.7771 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007144/0.3335, allocations: 35.69 kB / 0.7772 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009418/0.3344, allocations: 294 kB / 0.7775 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.3365, allocations: 0.625 MB / 0.7781 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.3501, allocations: 5.398 MB / 0.7833 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.3516, allocations: 1.012 MB / 0.7843 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3518, allocations: 73.59 kB / 0.7844 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00624/0.358, allocations: 3.763 MB / 0.7881 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.3584, allocations: 310.4 kB / 0.7884 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.3585, allocations: 44 kB / 0.7884 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.3708, allocations: 6.884 MB / 0.7951 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.3712, allocations: 115.5 kB / 0.7952 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.3716, allocations: 262.7 kB / 0.7955 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.3839, allocations: 4.575 MB / 0.8 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.384, allocations: 0 / 0.8 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.384, allocations: 0 / 0.8 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.384, allocations: 0 / 0.8 GB, free: 11.98 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.003974/0.3879, allocations: 1.39 MB / 0.8013 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.554e-05/0.388, allocations: 11.97 kB / 0.8013 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.3881, allocations: 94.7 kB / 0.8014 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.3887, allocations: 140.4 kB / 0.8016 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/0.3895, allocations: 457 kB / 0.802 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.3895, allocations: 37.38 kB / 0.802 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.3896, allocations: 52.12 kB / 0.8021 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.3908, allocations: 0.7724 MB / 0.8028 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3908, allocations: 3.938 kB / 0.8028 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.3908, allocations: 27.94 kB / 0.8029 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3908, allocations: 12 kB / 0.8029 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.3917, allocations: 459.6 kB / 0.8033 GB, free: 8.402 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.3944, allocations: 1.986 MB / 0.8052 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.395, allocations: 354.3 kB / 0.8056 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.3952, allocations: 128.8 kB / 0.8057 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01847/0.4137, allocations: 8.662 MB / 0.8142 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.4138, allocations: 38.56 kB / 0.8142 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 3.747e-06/0.4138, allocations: 0 / 0.8142 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.002755/0.4165, allocations: 1.103 MB / 0.8153 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4166, allocations: 59.41 kB / 0.8153 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.4169, allocations: 438 kB / 0.8158 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.417, allocations: 37.7 kB / 0.8158 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.4172, allocations: 288.5 kB / 0.8161 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.4173, allocations: 142.7 kB / 0.8162 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4174, allocations: 86.08 kB / 0.8163 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4175, allocations: 362.8 kB / 0.8166 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.4177, allocations: 120.8 kB / 0.8167 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.4179, allocations: 223.5 kB / 0.817 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.4184, allocations: 375.2 kB / 0.8173 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4184, allocations: 0 / 0.8173 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007066/0.4191, allocations: 0.5259 MB / 0.8178 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4191, allocations: 4 kB / 0.8178 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4191, allocations: 4 kB / 0.8178 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.4197, allocations: 153.6 kB / 0.818 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4199, allocations: 68.09 kB / 0.8181 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008323/0.4208, allocations: 1.237 MB / 0.8193 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.421, allocations: 24.05 kB / 0.8193 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.421, allocations: 16 kB / 0.8193 GB, free: 7.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (reservoir.medium.phase,massFlowRate.outlet.state.phase,isenthalpic.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.4212, allocations: 188.2 kB / 0.8195 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.4213, allocations: 67.55 kB / 0.8195 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.423, allocations: 1.482 MB / 0.821 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.4231, allocations: 11.98 kB / 0.821 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4231, allocations: 0 / 0.821 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.4231, allocations: 7.984 kB / 0.821 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.4238, allocations: 0.7836 MB / 0.8218 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4238, allocations: 0 / 0.8218 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.4239, allocations: 59.91 kB / 0.8218 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.4243, allocations: 299.2 kB / 0.8221 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.4244, allocations: 11.98 kB / 0.8221 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009424/0.4253, allocations: 1.49 MB / 0.8236 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4253, allocations: 0 / 0.8236 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.4267, allocations: 1.561 MB / 0.8251 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.4269, allocations: 115.3 kB / 0.8252 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.4269, allocations: 15.89 kB / 0.8252 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.4271, allocations: 35.91 kB / 0.8253 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.848e-05/0.4272, allocations: 27.94 kB / 0.8253 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.4272, allocations: 16 kB / 0.8253 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003463/0.4276, allocations: 350.8 kB / 0.8256 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4276, allocations: 4.062 kB / 0.8256 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003009/0.4306, allocations: 1.014 MB / 0.8266 GB, free: 36 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reservoir.M,reservoir.U_med) * Number of discrete variables: 9 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,reservoir.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,4), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.4487/0.8793, allocations: 3.034 MB / 0.8296 GB, free: 92.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.8805, allocations: 0.5208 MB / 0.8301 GB, free: 92.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.8805, allocations: 4.281 kB / 0.8301 GB, free: 92.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.8811, allocations: 358.4 kB / 0.8305 GB, free: 92.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.8822, allocations: 225.5 kB / 0.8307 GB, free: 92.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00892/0.8911, allocations: 5.457 MB / 0.836 GB, free: 89.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.8917, allocations: 348.8 kB / 0.8363 GB, free: 89.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007232/0.8925, allocations: 122 kB / 0.8364 GB, free: 89.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.8928, allocations: 284.9 kB / 0.8367 GB, free: 89.13 MB / 0.6355 GB Notification: Performance of SimCode: time 2.625e-06/0.8928, allocations: 3.938 kB / 0.8367 GB, free: 89.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09263/0.9854, allocations: 49.46 MB / 0.885 GB, free: 54.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.983/10.97, allocations: 0.5 kB / 0.885 GB, free: 54.41 MB / 0.6355 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Reservoir_OMSimulator_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_OMSimulator.pipe 2>&1) [Timeout 1260.0] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Reservoir.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Reservoir_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 14.496011438997812]