Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume.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.001183/0.001183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001164/0.001164, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.303/1.303, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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 1.078/1.078, allocations: 118.6 MB / 377.8 MB, free: 1.598 MB / 346.7 MB " [Timeout remaining time 178] 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.Volume,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.Volumes.Volume,fileNamePrefix="ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.5572 GB, free: 9.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.82e-05, allocations: 2.281 kB / 0.5572 GB, free: 9.074 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.8968/0.8968, allocations: 152.6 MB / 0.7062 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.007072/0.9039, allocations: 2.472 MB / 0.7086 GB, free: 13.92 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.9055, allocations: 37.97 kB / 0.7087 GB, free: 13.89 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.907, allocations: 238.3 kB / 0.7089 GB, free: 13.77 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.9129, allocations: 1.066 MB / 0.7099 GB, free: 13.16 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.9161, allocations: 0.6542 MB / 0.7106 GB, free: 12.72 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.9194, allocations: 1.114 MB / 0.7116 GB, free: 12.04 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.9198, allocations: 74.11 kB / 0.7117 GB, free: 12 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/0.9233, allocations: 0.8885 MB / 0.7126 GB, free: 11.45 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.9239, allocations: 258.6 kB / 0.7128 GB, free: 11.32 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.924, allocations: 42.17 kB / 0.7129 GB, free: 11.31 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.9268, allocations: 0.7019 MB / 0.7136 GB, free: 10.99 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.9271, allocations: 117.7 kB / 0.7137 GB, free: 10.89 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.9275, allocations: 201.3 kB / 0.7139 GB, free: 10.8 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.9317, allocations: 1.238 MB / 0.7151 GB, free: 10.05 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.9317, allocations: 0 / 0.7151 GB, free: 10.05 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.629e-06/0.9317, allocations: 0 / 0.7151 GB, free: 10.05 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.9318, allocations: 0 / 0.7151 GB, free: 10.05 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002807/0.9346, allocations: 0.9238 MB / 0.716 GB, free: 9.328 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 8.166e-05/0.9346, allocations: 8.281 kB / 0.716 GB, free: 9.328 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.9348, allocations: 90.33 kB / 0.7161 GB, free: 9.246 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007132/0.9355, allocations: 138.1 kB / 0.7162 GB, free: 9.176 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.9369, allocations: 452.2 kB / 0.7166 GB, free: 8.816 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.9371, allocations: 86.75 kB / 0.7167 GB, free: 8.738 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.9371, allocations: 46.77 kB / 0.7168 GB, free: 8.719 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.9381, allocations: 0.6388 MB / 0.7174 GB, free: 8.199 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.9382, allocations: 0 / 0.7174 GB, free: 8.199 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.9382, allocations: 20.95 kB / 0.7174 GB, free: 8.184 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.9383, allocations: 8.438 kB / 0.7174 GB, free: 8.184 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.9389, allocations: 320.6 kB / 0.7177 GB, free: 8.043 MB / 0.573 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.003373/0.9422, allocations: 1.627 MB / 0.7193 GB, free: 6.754 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.9428, allocations: 229.5 kB / 0.7195 GB, free: 6.633 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.943, allocations: 117.1 kB / 0.7196 GB, free: 6.574 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.9433, allocations: 48.17 kB / 0.7197 GB, free: 6.559 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.9433, allocations: 45.06 kB / 0.7197 GB, free: 6.512 MB / 0.573 GB Notification: Performance of pre-optimization done (n=29): time 3.266e-06/0.9433, allocations: 0 / 0.7197 GB, free: 6.512 MB / 0.573 GB Notification: Performance of matching and sorting (n=29): time 0.001026/0.9443, allocations: 403.7 kB / 0.7201 GB, free: 6.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.9444, allocations: 58.02 kB / 0.7202 GB, free: 6.254 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.9453, allocations: 0.5134 MB / 0.7207 GB, free: 5.941 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.9453, allocations: 29.7 kB / 0.7207 GB, free: 5.906 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.9455, allocations: 280.5 kB / 0.721 GB, free: 5.66 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/0.9456, allocations: 117.4 kB / 0.7211 GB, free: 5.555 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.9458, allocations: 92.25 kB / 0.7212 GB, free: 5.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002887/0.9461, allocations: 364.2 kB / 0.7215 GB, free: 5.148 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.9463, allocations: 90.55 kB / 0.7216 GB, free: 5.109 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.9465, allocations: 171.2 kB / 0.7218 GB, free: 4.977 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.9469, allocations: 281.6 kB / 0.722 GB, free: 4.789 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.9469, allocations: 3.406 kB / 0.722 GB, free: 4.789 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006376/0.9476, allocations: 396.9 kB / 0.7224 GB, free: 4.594 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.9476, allocations: 12.94 kB / 0.7224 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9476, allocations: 2.625 kB / 0.7224 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.9476, allocations: 5.562 kB / 0.7224 GB, free: 4.586 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.9479, allocations: 98.75 kB / 0.7225 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.719e-05/0.948, allocations: 6.469 kB / 0.7225 GB, free: 4.559 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.9483, allocations: 44.72 kB / 0.7226 GB, free: 4.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.9484, allocations: 45.7 kB / 0.7226 GB, free: 4.52 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.9486, allocations: 163 kB / 0.7228 GB, free: 4.375 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.9487, allocations: 62.44 kB / 0.7228 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.95, allocations: 0.6303 MB / 0.7234 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.95, allocations: 2.188 kB / 0.7234 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.95, allocations: 0 / 0.7234 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.95, allocations: 0 / 0.7234 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.9513, allocations: 0.7855 MB / 0.7242 GB, free: 3.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.9513, allocations: 0 / 0.7242 GB, free: 3.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.9516, allocations: 69.12 kB / 0.7243 GB, free: 3.395 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.9518, allocations: 26.28 kB / 0.7243 GB, free: 3.379 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.9518, allocations: 15.77 kB / 0.7243 GB, free: 3.371 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005784/0.9524, allocations: 0.543 MB / 0.7249 GB, free: 2.828 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9524, allocations: 7.078 kB / 0.7249 GB, free: 2.824 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.9532, allocations: 0.5032 MB / 0.7253 GB, free: 2.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.9534, allocations: 87.48 kB / 0.7254 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.9535, allocations: 11.53 kB / 0.7254 GB, free: 2.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.9537, allocations: 12.89 kB / 0.7255 GB, free: 2.422 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.9537, allocations: 21.41 kB / 0.7255 GB, free: 2.414 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.9538, allocations: 29.77 kB / 0.7255 GB, free: 2.406 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004774/0.9543, allocations: 362.9 kB / 0.7259 GB, free: 2.195 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.9543, allocations: 0 / 0.7259 GB, free: 2.195 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001127/0.9554, allocations: 211.4 kB / 0.7261 GB, free: 2.145 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (pressureTank.M,pressureTank.U_med) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/0.9574, allocations: 1.262 MB / 0.7273 GB, free: 1.191 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.9581, allocations: 237 kB / 0.7275 GB, free: 1.098 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.9581, allocations: 3.25 kB / 0.7275 GB, free: 1.098 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.9583, allocations: 125.5 kB / 0.7276 GB, free: 1.043 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.9593, allocations: 248.3 kB / 0.7279 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.9664, allocations: 4.128 MB / 0.7319 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.9666, allocations: 247.9 kB / 0.7321 GB, free: 14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001188/0.9678, allocations: 413.5 kB / 0.7325 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.9682, allocations: 241.6 kB / 0.7328 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of SimCode: time 2.354e-06/0.9682, allocations: 0 / 0.7328 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/1.028, allocations: 18.1 MB / 0.7504 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.57, allocations: 14.39 kB / 0.7505 GB, free: 1.414 MB / 0.5886 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator.pipe >> ../files/ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_OMSimulator_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume_OMSimulator_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Idealized_Examples_Volumes_Volume.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_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.Volume_fmpy.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_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_Volume.fmu > ThermofluidStream_ThermofluidStream.Idealized.Examples.Volumes.Volume_fmpy.pipe 2>&1) [Timeout 1260.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 16.99661165699945]