Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck.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.000815/0.000815, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0007999/0.0007999, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 0.9591/0.9591, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.869/1.869, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.566e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002153/0.002179, allocations: 1.272 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6409/0.643, allocations: 120.9 MB / 1.12 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.6431, allocations: 0 / 1.12 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.6431, allocations: 2.203 kB / 1.12 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.6432, allocations: 6.266 kB / 1.12 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.6444, allocations: 468.6 kB / 1.12 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.6445, allocations: 41.39 kB / 1.12 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.6446, allocations: 6.062 kB / 1.12 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.6446, allocations: 29.28 kB / 1.12 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.6447, allocations: 18.64 kB / 1.121 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.6447, allocations: 2.344 kB / 1.121 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.6459, allocations: 0.7997 MB / 1.121 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.646, allocations: 12.08 kB / 1.121 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.646, allocations: 10.22 kB / 1.121 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.6467, allocations: 0.5653 MB / 1.122 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6467, allocations: 1.125 kB / 1.122 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.036e-06/0.6467, allocations: 0.6562 kB / 1.122 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6467, allocations: 0 / 1.122 GB, free: 7.965 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004051/0.6471, allocations: 298.2 kB / 1.122 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6472, allocations: 12.69 kB / 1.122 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.6472, allocations: 33.22 kB / 1.122 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.6473, allocations: 13.33 kB / 1.122 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.6474, allocations: 113.2 kB / 1.122 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6474, allocations: 2.594 kB / 1.122 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.6474, allocations: 3.562 kB / 1.122 GB, free: 7.512 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.6476, allocations: 132.5 kB / 1.122 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6476, allocations: 3.938 kB / 1.122 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6476, allocations: 1.062 kB / 1.122 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6476, allocations: 5.094 kB / 1.122 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.6476, allocations: 18.17 kB / 1.122 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.6477, allocations: 137.8 kB / 1.123 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.6478, allocations: 55 kB / 1.123 GB, free: 7.168 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.6479, allocations: 17.06 kB / 1.123 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006162/0.654, allocations: 2.871 MB / 1.125 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.6541, allocations: 32.73 kB / 1.126 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.6541, allocations: 0 / 1.126 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02548/0.6795, allocations: 14.93 MB / 1.14 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.6796, allocations: 53.11 kB / 1.14 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.6796, allocations: 97.58 kB / 1.14 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.6796, allocations: 26.95 kB / 1.14 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.6796, allocations: 80.14 kB / 1.14 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.6797, allocations: 55.89 kB / 1.14 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.6797, allocations: 31.22 kB / 1.14 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.6797, allocations: 317.2 kB / 1.141 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.6798, allocations: 23.94 kB / 1.141 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.6798, allocations: 25.31 kB / 1.141 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.6799, allocations: 57.78 kB / 1.141 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6799, allocations: 0 / 1.141 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00015/0.6801, allocations: 116 kB / 1.141 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6801, allocations: 3.906 kB / 1.141 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6801, allocations: 1.688 kB / 1.141 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6801, allocations: 0.7031 kB / 1.141 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.6802, allocations: 26.56 kB / 1.141 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.6802, allocations: 1.406 kB / 1.141 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.6802, allocations: 8.609 kB / 1.141 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6802, allocations: 3.812 kB / 1.141 GB, free: 4.109 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 4.652e-05/0.6803, allocations: 113.1 kB / 1.141 GB, free: 3.992 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.6803, allocations: 9.047 kB / 1.141 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.6805, allocations: 128.1 kB / 1.141 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6805, allocations: 5.438 kB / 1.141 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6805, allocations: 4.703 kB / 1.141 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6805, allocations: 2.797 kB / 1.141 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.718e-05/0.6806, allocations: 135.9 kB / 1.141 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6806, allocations: 3.938 kB / 1.141 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.6807, allocations: 27.55 kB / 1.141 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6807, allocations: 0.6094 kB / 1.141 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6807, allocations: 6.062 kB / 1.141 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6807, allocations: 0 / 1.141 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6807, allocations: 1.219 kB / 1.141 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.6809, allocations: 156.9 kB / 1.142 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.6809, allocations: 19.78 kB / 1.142 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.6809, allocations: 9.188 kB / 1.142 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.681, allocations: 11.08 kB / 1.142 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.681, allocations: 12 kB / 1.142 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.6811, allocations: 5.312 kB / 1.142 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.421e-05/0.6811, allocations: 76.66 kB / 1.142 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6811, allocations: 0 / 1.142 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002243/0.6833, allocations: 0.5642 MB / 1.142 GB, free: 3.508 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002555/0.6859, allocations: 0.9772 MB / 1.143 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.686, allocations: 57.34 kB / 1.143 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.686, allocations: 0 / 1.143 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.6861, allocations: 35.69 kB / 1.143 GB, free: 2.785 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.6863, allocations: 12.44 kB / 1.143 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.6881, allocations: 1.493 MB / 1.145 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.6881, allocations: 70.59 kB / 1.145 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.6882, allocations: 24.39 kB / 1.145 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.6882, allocations: 20.36 kB / 1.145 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of SimCode: time 7.61e-07/0.6882, allocations: 0 / 1.145 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.8368, allocations: 26.19 MB / 1.17 GB, free: 8.75 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.49, allocations: 10.3 kB / 1.17 GB, free: 8.746 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 ../Buildings_13_Buildings_Media_Examples_SteamDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Examples_SteamDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Examples.SteamDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 15.655480503104627]