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.0008098/0.0008098, 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.0009555/0.0009555, allocations: 169.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 0.8822/0.8822, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001472/0.001472, allocations: 234.5 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6535/0.6535, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.484e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001789/0.001813, allocations: 1.379 MB / 0.6476 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2526/0.2544, allocations: 2.751 MB / 0.6503 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.2544, allocations: 0 / 0.6503 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.113e-05/0.2545, allocations: 10.3 kB / 0.6503 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2546, allocations: 42.22 kB / 0.6504 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.2552, allocations: 192.6 kB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.2555, allocations: 246.3 kB / 0.6508 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.2555, allocations: 7.719 kB / 0.6508 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2557, allocations: 116.2 kB / 0.6509 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.2558, allocations: 122.9 kB / 0.651 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.2558, allocations: 12.44 kB / 0.651 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.2562, allocations: 147.2 kB / 0.6512 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.2563, allocations: 92.23 kB / 0.6513 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.2564, allocations: 77.81 kB / 0.6513 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.2566, allocations: 302.2 kB / 0.6516 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2566, allocations: 0 / 0.6516 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2566, allocations: 0 / 0.6516 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2567, allocations: 2.469 kB / 0.6516 GB, free: 54.99 MB / 0.5573 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.000562/0.2572, allocations: 468.8 kB / 0.6521 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2573, allocations: 12.59 kB / 0.6521 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.2573, allocations: 52.41 kB / 0.6521 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2574, allocations: 19.31 kB / 0.6521 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2576, allocations: 175.1 kB / 0.6523 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.2576, allocations: 24.75 kB / 0.6523 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.2576, allocations: 17.59 kB / 0.6524 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.2581, allocations: 296.4 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2581, allocations: 384 / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2581, allocations: 9.781 kB / 0.6526 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2581, allocations: 3.719 kB / 0.6527 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.259, allocations: 0.7217 MB / 0.6534 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.2593, allocations: 269.4 kB / 0.6536 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.2602, allocations: 0.6394 MB / 0.6542 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.2605, allocations: 217.8 kB / 0.6544 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.2607, allocations: 81.73 kB / 0.6545 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2607, allocations: 38.16 kB / 0.6546 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.2607, allocations: 3.844 kB / 0.6546 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.000974/0.2617, allocations: 0.6531 MB / 0.6552 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2617, allocations: 56.31 kB / 0.6553 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.2618, allocations: 124.9 kB / 0.6554 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2618, allocations: 32.23 kB / 0.6554 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.2618, allocations: 92.03 kB / 0.6555 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.2619, allocations: 127.7 kB / 0.6556 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.262, allocations: 61.84 kB / 0.6557 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.262, allocations: 330 kB / 0.656 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.2623, allocations: 197.7 kB / 0.6562 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2626, allocations: 197.5 kB / 0.6564 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.2631, allocations: 367.1 kB / 0.6567 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2631, allocations: 4.609 kB / 0.6567 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006226/0.2637, allocations: 468.7 kB / 0.6572 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2637, allocations: 6.203 kB / 0.6572 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2637, allocations: 0 / 0.6572 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2638, allocations: 5.625 kB / 0.6572 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.264, allocations: 98.75 kB / 0.6573 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.264, allocations: 2.781 kB / 0.6573 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2641, allocations: 52.28 kB / 0.6573 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2641, allocations: 10.92 kB / 0.6573 GB, free: 52.67 MB / 0.5573 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 8.12e-05/0.2642, allocations: 143.1 kB / 0.6575 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2642, allocations: 18.03 kB / 0.6575 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.2649, allocations: 0.5161 MB / 0.658 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2649, allocations: 8.531 kB / 0.658 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2649, allocations: 0 / 0.658 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2649, allocations: 1.969 kB / 0.658 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.2651, allocations: 265.1 kB / 0.6583 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2652, allocations: 3.047 kB / 0.6583 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.2653, allocations: 101.6 kB / 0.6584 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2653, allocations: 1.656 kB / 0.6584 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2654, allocations: 10.61 kB / 0.6584 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2654, allocations: 6.719 kB / 0.6584 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2654, allocations: 3.938 kB / 0.6584 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.266, allocations: 0.4921 MB / 0.6589 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.266, allocations: 26.95 kB / 0.6589 GB, free: 52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.266, allocations: 6.969 kB / 0.6589 GB, free: 52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.2661, allocations: 37.44 kB / 0.6589 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.2663, allocations: 126.2 kB / 0.659 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.2663, allocations: 12 kB / 0.6591 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.2663, allocations: 102.6 kB / 0.6592 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2663, allocations: 3.781 kB / 0.6592 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003035/0.2667, allocations: 116 kB / 0.6593 GB, free: 51.87 MB / 0.5573 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.0009798/0.2676, allocations: 1.115 MB / 0.6604 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.2683, allocations: 457.2 kB / 0.6608 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2683, allocations: 4 kB / 0.6608 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.2686, allocations: 240.4 kB / 0.661 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2689, allocations: 83.88 kB / 0.6611 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.2715, allocations: 2.692 MB / 0.6637 GB, free: 49.56 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.2716, allocations: 120.2 kB / 0.6639 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002829/0.2719, allocations: 188.1 kB / 0.664 GB, free: 49.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.2719, allocations: 66.88 kB / 0.6641 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/0.2719, allocations: 0 / 0.6641 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.2957, allocations: 8.547 MB / 0.6724 GB, free: 48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.394/6.69, allocations: 4.344 kB / 0.6724 GB, free: 48 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.411087587475777] Failed to read output from testmodel.py, exit status != 0: 6.770113401114941 6.77738919 6.518955503 Calling exit ...