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.0007491/0.0007491, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007497/0.0007497, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8875/0.8875, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.002332/0.002332, allocations: 234.8 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.6606/0.6606, allocations: 138.4 MB / 454.3 MB, free: 30.02 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 1.543e-06/1.543e-06, allocations: 0 / 0.6463 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.079e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001768/0.001789, allocations: 1.385 MB / 0.6476 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2505/0.2523, allocations: 2.754 MB / 0.6503 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.2524, allocations: 0 / 0.6503 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.2525, allocations: 9.109 kB / 0.6503 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2526, allocations: 44.53 kB / 0.6504 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.2531, allocations: 192.8 kB / 0.6505 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.2534, allocations: 249.4 kB / 0.6508 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.2534, allocations: 7.234 kB / 0.6508 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2535, allocations: 116.3 kB / 0.6509 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2536, allocations: 118.8 kB / 0.651 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.2537, allocations: 11.78 kB / 0.651 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.254, allocations: 143 kB / 0.6512 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.254, allocations: 98.72 kB / 0.6513 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.2541, allocations: 75.7 kB / 0.6513 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.2544, allocations: 308.1 kB / 0.6516 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2544, allocations: 0 / 0.6516 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2544, allocations: 0 / 0.6516 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2544, allocations: 0 / 0.6516 GB, free: 55.08 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.0005333/0.2549, allocations: 469.6 kB / 0.6521 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.255, allocations: 12 kB / 0.6521 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.255, allocations: 49.5 kB / 0.6521 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.2551, allocations: 21.97 kB / 0.6521 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.2553, allocations: 182.4 kB / 0.6523 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.2553, allocations: 24.48 kB / 0.6523 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.2553, allocations: 13.44 kB / 0.6524 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.2558, allocations: 288.9 kB / 0.6526 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2558, allocations: 384 / 0.6526 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.2558, allocations: 10.55 kB / 0.6526 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2558, allocations: 3.25 kB / 0.6526 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009362/0.2567, allocations: 0.7238 MB / 0.6534 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.257, allocations: 271.6 kB / 0.6536 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.258, allocations: 0.6405 MB / 0.6542 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.2583, allocations: 215.6 kB / 0.6544 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.2585, allocations: 78.02 kB / 0.6545 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.2585, allocations: 39.94 kB / 0.6546 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.2585, allocations: 5.719 kB / 0.6546 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.001027/0.2596, allocations: 0.6529 MB / 0.6552 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2596, allocations: 56.69 kB / 0.6553 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.2597, allocations: 127.2 kB / 0.6554 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2597, allocations: 29.7 kB / 0.6554 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.2597, allocations: 94.5 kB / 0.6555 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.2598, allocations: 125.8 kB / 0.6556 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.2598, allocations: 66.3 kB / 0.6557 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.35e-05/0.2599, allocations: 324.9 kB / 0.656 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.2602, allocations: 197.4 kB / 0.6562 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.2605, allocations: 198.5 kB / 0.6564 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.261, allocations: 366 kB / 0.6567 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.261, allocations: 0 / 0.6567 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00064/0.2616, allocations: 470.4 kB / 0.6572 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2616, allocations: 5.594 kB / 0.6572 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2616, allocations: 0 / 0.6572 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2617, allocations: 6.297 kB / 0.6572 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2619, allocations: 102.3 kB / 0.6573 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.2619, allocations: 1.969 kB / 0.6573 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.262, allocations: 47.52 kB / 0.6573 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.262, allocations: 16.3 kB / 0.6573 GB, free: 52.77 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.338e-05/0.2621, allocations: 139.8 kB / 0.6575 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2621, allocations: 16.59 kB / 0.6575 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/0.2628, allocations: 0.5176 MB / 0.658 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2628, allocations: 7.594 kB / 0.658 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2629, allocations: 2.453 kB / 0.658 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.2629, allocations: 6.016 kB / 0.658 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.2631, allocations: 265.2 kB / 0.6583 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2631, allocations: 0 / 0.6583 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.2632, allocations: 100.9 kB / 0.6584 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2632, allocations: 1.938 kB / 0.6584 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2633, allocations: 10.7 kB / 0.6584 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2633, allocations: 3.938 kB / 0.6584 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2633, allocations: 1.969 kB / 0.6584 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.2639, allocations: 0.4934 MB / 0.6589 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.2639, allocations: 28.27 kB / 0.6589 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.264, allocations: 9.906 kB / 0.6589 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.264, allocations: 45.95 kB / 0.6589 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.2642, allocations: 119 kB / 0.659 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2642, allocations: 9.844 kB / 0.6591 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.2643, allocations: 105.2 kB / 0.6592 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2643, allocations: 2.625 kB / 0.6592 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003271/0.2646, allocations: 114.6 kB / 0.6593 GB, free: 51.97 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.001004/0.2656, allocations: 1.12 MB / 0.6604 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007424/0.2663, allocations: 457.4 kB / 0.6608 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2664, allocations: 0 / 0.6608 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.2667, allocations: 243.2 kB / 0.661 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.267, allocations: 83.27 kB / 0.6611 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.2697, allocations: 2.688 MB / 0.6637 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.732e-05/0.2698, allocations: 119.9 kB / 0.6638 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003247/0.2701, allocations: 189.2 kB / 0.664 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2702, allocations: 68.64 kB / 0.6641 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/0.2702, allocations: 0 / 0.6641 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.2913, allocations: 8.542 MB / 0.6724 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.37/6.661, allocations: 7.734 kB / 0.6724 GB, free: 48.09 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 & /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 sys.exit(0), Time elapsed: 9.21917228307575] Failed to read output from testmodel.py, exit status != 0: 6.740902208723128 6.751340019 6.494396271 Calling exit ...