Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 93.03 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 185.5 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6779/0.6779, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 9.219 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001555/0.1451, allocations: 1.098 MB / 0.5611 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.1488, allocations: 2.867 MB / 0.5639 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.1489, allocations: 3.938 kB / 0.5639 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.149, allocations: 4 kB / 0.5639 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1491, allocations: 43.8 kB / 0.564 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.1496, allocations: 155.4 kB / 0.5641 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.15, allocations: 331.4 kB / 0.5644 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.1501, allocations: 8 kB / 0.5644 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1502, allocations: 91.78 kB / 0.5645 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1504, allocations: 131.8 kB / 0.5646 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1504, allocations: 8 kB / 0.5647 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.1508, allocations: 159.7 kB / 0.5648 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.151, allocations: 91.75 kB / 0.5649 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1511, allocations: 113.3 kB / 0.565 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.1516, allocations: 275.5 kB / 0.5653 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1516, allocations: 0 / 0.5653 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1516, allocations: 0 / 0.5653 GB, free: 3.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1516, allocations: 4 kB / 0.5653 GB, free: 3.559 MB / 430.1 MB 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.0009188/0.1525, allocations: 0.5184 MB / 0.5658 GB, free: 2.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1526, allocations: 15.97 kB / 0.5658 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.1526, allocations: 50.73 kB / 0.5658 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1527, allocations: 20.75 kB / 0.5659 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.153, allocations: 236 kB / 0.5661 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.1531, allocations: 32.36 kB / 0.5661 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.1531, allocations: 12.38 kB / 0.5661 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.1538, allocations: 317.1 kB / 0.5664 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1538, allocations: 3.938 kB / 0.5664 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1539, allocations: 4 kB / 0.5664 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1539, allocations: 4 kB / 0.5664 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.1555, allocations: 0.8077 MB / 0.5672 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1559, allocations: 309 kB / 0.5675 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.1578, allocations: 0.7857 MB / 0.5683 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.1584, allocations: 264.7 kB / 0.5685 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/0.1588, allocations: 388.3 kB / 0.5689 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1589, allocations: 30.56 kB / 0.5689 GB, free: 15.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.1589, allocations: 0 / 0.5689 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001812/0.1607, allocations: 0.7477 MB / 0.5697 GB, free: 14.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1607, allocations: 55.41 kB / 0.5697 GB, free: 14.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1609, allocations: 133.6 kB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1609, allocations: 29.7 kB / 0.5699 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.161, allocations: 88.8 kB / 0.57 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1611, allocations: 130.1 kB / 0.5701 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.1612, allocations: 37.7 kB / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1613, allocations: 322.8 kB / 0.5704 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.1619, allocations: 223.8 kB / 0.5706 GB, free: 13.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.1624, allocations: 227.6 kB / 0.5709 GB, free: 13.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.1634, allocations: 426.2 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1635, allocations: 0 / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001201/0.1647, allocations: 0.5122 MB / 0.5718 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1647, allocations: 4 kB / 0.5718 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1647, allocations: 4 kB / 0.5718 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1647, allocations: 4 kB / 0.5718 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.1651, allocations: 111.8 kB / 0.5719 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1651, allocations: 0 / 0.5719 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1654, allocations: 71.7 kB / 0.572 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1654, allocations: 12 kB / 0.572 GB, free: 12.38 MB / 446.1 MB 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.0001412/0.1655, allocations: 145.8 kB / 0.5721 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1656, allocations: 19.75 kB / 0.5721 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.1669, allocations: 0.572 MB / 0.5727 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.167, allocations: 8 kB / 0.5727 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.167, allocations: 0 / 0.5727 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.167, allocations: 3.984 kB / 0.5727 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.1674, allocations: 317.2 kB / 0.573 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1674, allocations: 3.938 kB / 0.573 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.1678, allocations: 115.9 kB / 0.5731 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1678, allocations: 0 / 0.5731 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.1678, allocations: 11.98 kB / 0.5731 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1678, allocations: 0 / 0.5731 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1678, allocations: 0 / 0.5731 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1691, allocations: 0.5508 MB / 0.5737 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.1692, allocations: 96.8 kB / 0.5738 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1692, allocations: 12 kB / 0.5738 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1694, allocations: 51.95 kB / 0.5738 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.1697, allocations: 115.8 kB / 0.5739 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.1697, allocations: 15.98 kB / 0.5739 GB, free: 10.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.1698, allocations: 95.27 kB / 0.574 GB, free: 10.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1698, allocations: 0 / 0.574 GB, free: 10.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.1702, allocations: 119.9 kB / 0.5741 GB, free: 10.06 MB / 446.1 MB 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.001778/0.172, allocations: 1.174 MB / 0.5753 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.1732, allocations: 0.5149 MB / 0.5758 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1732, allocations: 0 / 0.5758 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.1738, allocations: 287.7 kB / 0.5761 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1743, allocations: 75.91 kB / 0.5761 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.1788, allocations: 2.897 MB / 0.579 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1791, allocations: 0.7331 MB / 0.5797 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004441/0.1795, allocations: 179 kB / 0.5799 GB, free: 4.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1797, allocations: 59.41 kB / 0.5799 GB, free: 4.023 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1797, allocations: 0 / 0.5799 GB, free: 4.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.244/0.4237, allocations: 6.756 MB / 0.5865 GB, free: 31.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/0.4239, allocations: 201.4 kB / 0.5867 GB, free: 30.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.36, allocations: 0 / 0.5867 GB, free: 30.89 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)