Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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.001416/0.001416, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.001578/0.001578, allocations: 214.8 kB / 23.02 MB, free: 2.961 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.066/1.066, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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 2.172/2.172, allocations: 0.5046 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] 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.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 71.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.88, allocations: 180 MB / 1.352 GB, free: 1.699 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001966/0.8819, allocations: 1.303 MB / 1.354 GB, free: 396 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.8832, allocations: 1.114 MB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.8833, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.8833, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.8834, allocations: 19.84 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.8839, allocations: 143.4 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.8839, allocations: 51.72 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.884, allocations: 4 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.884, allocations: 15.98 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.8841, allocations: 19.92 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.8841, allocations: 3.938 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.8844, allocations: 139.8 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.8844, allocations: 4 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.8844, allocations: 15.92 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.8846, allocations: 121.9 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8846, allocations: 4 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.866e-06/0.8847, allocations: 0 / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.8847, allocations: 0 / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003436/0.885, allocations: 297.8 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.8851, allocations: 16.92 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.8851, allocations: 38.73 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.8851, allocations: 8.875 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.8853, allocations: 106.5 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.8853, allocations: 4.375 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.8853, allocations: 4.375 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.8855, allocations: 67.52 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.8855, allocations: 3.938 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.8855, allocations: 4 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.8855, allocations: 0 / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.8856, allocations: 39.95 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.8858, allocations: 149.6 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.6e-05/0.8859, allocations: 69.08 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.8859, allocations: 29.77 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.8864, allocations: 247.8 kB / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.8864, allocations: 46.48 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.8864, allocations: 4 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0002062/0.8866, allocations: 85.84 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.8867, allocations: 85.09 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.8867, allocations: 93.86 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.8867, allocations: 29.7 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.8868, allocations: 80.14 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.8868, allocations: 35.69 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.8868, allocations: 21.72 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.8869, allocations: 314.8 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.8869, allocations: 15.94 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.887, allocations: 33.83 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.887, allocations: 46.02 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.887, allocations: 0 / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.169e-05/0.8871, allocations: 81.72 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8871, allocations: 4 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8871, allocations: 7.938 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8872, allocations: 0 / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.8872, allocations: 15.94 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8872, allocations: 4 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.8872, allocations: 12.03 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.8872, allocations: 0 / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.464e-05/0.8873, allocations: 122.3 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.8873, allocations: 11.89 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.8875, allocations: 93.61 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8875, allocations: 0 / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8875, allocations: 4 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8875, allocations: 3.984 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.572e-05/0.8876, allocations: 132.7 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8876, allocations: 7.938 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.8876, allocations: 23.95 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8876, allocations: 0 / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.8876, allocations: 4 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8876, allocations: 4 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8876, allocations: 0 / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.8877, allocations: 105.9 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.8878, allocations: 19.88 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.8878, allocations: 0 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.8878, allocations: 0 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.8878, allocations: 11.98 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.8878, allocations: 4 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.8878, allocations: 79.28 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8878, allocations: 0 / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002091/0.888, allocations: 67.67 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (9): * Single equations (assignments): 9 * 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.0004592/0.8885, allocations: 0.7106 MB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.8886, allocations: 51.86 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8886, allocations: 0 / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.8886, allocations: 16 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.8889, allocations: 11.98 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/0.8894, allocations: 235.7 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.8894, allocations: 71.41 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.8895, allocations: 19.86 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.8895, allocations: 19.44 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of SimCode: time 6.21e-07/0.8895, allocations: 0 / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08273/0.9722, allocations: 3.177 MB / 1.362 GB, free: 7.434 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/8.153, allocations: 9.219 kB / 1.362 GB, free: 7.426 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu) > Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu) > Buildings_13_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.650561375543475]