Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.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.001257/0.001257, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001354/0.001354, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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.411/1.411, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002408/0.002408, allocations: 288.2 kB / 309.8 MB, free: 3.477 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.056/1.056, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 101.7 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5196, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002324/0.5219, allocations: 1.414 MB / 0.8291 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.5249, allocations: 2.962 MB / 0.832 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.5249, allocations: 6.656 kB / 0.832 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.31e-05/0.525, allocations: 4.031 kB / 0.832 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.5251, allocations: 49.28 kB / 0.8321 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.5257, allocations: 186.8 kB / 0.8323 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.5259, allocations: 243.1 kB / 0.8325 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.526, allocations: 4.359 kB / 0.8325 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.5261, allocations: 101.2 kB / 0.8326 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.5263, allocations: 124.8 kB / 0.8327 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.5263, allocations: 11.56 kB / 0.8327 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.5267, allocations: 135.6 kB / 0.8329 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.5268, allocations: 87.55 kB / 0.8329 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5269, allocations: 98.41 kB / 0.833 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.5273, allocations: 272 kB / 0.8333 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5273, allocations: 4 kB / 0.8333 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5273, allocations: 0 / 0.8333 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5273, allocations: 0 / 0.8333 GB, free: 15.43 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009428/0.5282, allocations: 0.5366 MB / 0.8338 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5283, allocations: 9.594 kB / 0.8338 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.45e-05/0.5283, allocations: 6.906 kB / 0.8338 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/0.5283, allocations: 47.83 kB / 0.8339 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.5284, allocations: 21.06 kB / 0.8339 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.5288, allocations: 239.8 kB / 0.8341 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.5288, allocations: 27.39 kB / 0.8342 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.5288, allocations: 16.94 kB / 0.8342 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.5295, allocations: 284.8 kB / 0.8344 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5295, allocations: 0 / 0.8344 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.5295, allocations: 6.156 kB / 0.8345 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5296, allocations: 3.844 kB / 0.8345 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.5311, allocations: 0.7533 MB / 0.8352 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.5315, allocations: 305.3 kB / 0.8355 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.5333, allocations: 0.6451 MB / 0.8361 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.5338, allocations: 213.3 kB / 0.8363 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.5343, allocations: 392.3 kB / 0.8367 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.5344, allocations: 38.83 kB / 0.8367 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.054e-06/0.5344, allocations: 0 / 0.8367 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001789/0.5362, allocations: 0.6527 MB / 0.8374 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.5362, allocations: 59.28 kB / 0.8374 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5363, allocations: 126.5 kB / 0.8375 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.5364, allocations: 31.05 kB / 0.8376 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.5365, allocations: 92.67 kB / 0.8377 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.5366, allocations: 134.4 kB / 0.8378 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5367, allocations: 69.25 kB / 0.8379 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5369, allocations: 329.1 kB / 0.8382 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.5374, allocations: 199.5 kB / 0.8384 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.5379, allocations: 200 kB / 0.8386 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.5388, allocations: 361.9 kB / 0.8389 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5388, allocations: 4 kB / 0.8389 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001202/0.54, allocations: 463.7 kB / 0.8393 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5401, allocations: 12.31 kB / 0.8394 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5401, allocations: 0 / 0.8394 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.5401, allocations: 2.328 kB / 0.8394 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.5405, allocations: 97.91 kB / 0.8394 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5405, allocations: 1.219 kB / 0.8395 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5407, allocations: 52.89 kB / 0.8395 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.5408, allocations: 16.48 kB / 0.8395 GB, free: 12.48 MB / 0.5919 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 (37): * Single equations (assignments): 37 * 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.0001919/0.541, allocations: 141.2 kB / 0.8397 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.541, allocations: 20.97 kB / 0.8397 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.5424, allocations: 0.5167 MB / 0.8402 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5424, allocations: 4.156 kB / 0.8402 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5424, allocations: 0.75 kB / 0.8402 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5424, allocations: 7.281 kB / 0.8402 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.5428, allocations: 316.4 kB / 0.8405 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5428, allocations: 1.125 kB / 0.8405 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.5432, allocations: 102.1 kB / 0.8406 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5432, allocations: 5.125 kB / 0.8406 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.5432, allocations: 11.16 kB / 0.8406 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5432, allocations: 1.438 kB / 0.8406 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5432, allocations: 0.75 kB / 0.8406 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5444, allocations: 0.4896 MB / 0.8411 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.5444, allocations: 104 kB / 0.8412 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.5445, allocations: 10.75 kB / 0.8412 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5446, allocations: 37.75 kB / 0.8412 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.5449, allocations: 117.8 kB / 0.8413 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.5449, allocations: 11.11 kB / 0.8414 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.545, allocations: 100.6 kB / 0.8414 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.545, allocations: 0 / 0.8414 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004291/0.5454, allocations: 115.1 kB / 0.8416 GB, free: 11.54 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 37 * 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.001919/0.5473, allocations: 1.129 MB / 0.8427 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.5486, allocations: 454.9 kB / 0.8431 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5486, allocations: 0 / 0.8431 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.5492, allocations: 245.7 kB / 0.8433 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.5496, allocations: 82.92 kB / 0.8434 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.554, allocations: 2.678 MB / 0.846 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.5544, allocations: 0.7305 MB / 0.8467 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004209/0.5548, allocations: 186.3 kB / 0.8469 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.5549, allocations: 69.53 kB / 0.847 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of SimCode: time 5.2e-07/0.5549, allocations: 0 / 0.847 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.582, allocations: 7.54 MB / 0.8543 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.664, allocations: 7 kB / 0.8543 GB, free: 5.781 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.47170425899094] Failed to read output from testmodel.py, exit status != 0: 8.790414621995296 8.810867224 8.279729581 Calling exit ...