Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.007762/0.007762, allocations: 101.1 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.00173, allocations: 194.5 kB / 16.79 MB, free: 6.242 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6889/0.6889, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.25 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1255, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.00644/0.132, allocations: 4.458 MB / 0.5602 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.135, allocations: 2.726 MB / 0.5628 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.1351, allocations: 0 / 0.5628 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1354, allocations: 35.81 kB / 0.5629 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1356, allocations: 91.47 kB / 0.563 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1368, allocations: 443.4 kB / 0.5634 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1371, allocations: 303.9 kB / 0.5637 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.1371, allocations: 13.55 kB / 0.5637 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000928/0.1381, allocations: 398.8 kB / 0.5641 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1382, allocations: 99.58 kB / 0.5642 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1382, allocations: 4 kB / 0.5642 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1393, allocations: 0.4911 MB / 0.5647 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.1393, allocations: 43.77 kB / 0.5647 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.1394, allocations: 79.66 kB / 0.5648 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.1401, allocations: 351.4 kB / 0.5651 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1401, allocations: 7.938 kB / 0.5651 GB, free: 1.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1401, allocations: 0 / 0.5651 GB, free: 1.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1402, allocations: 0 / 0.5651 GB, free: 1.203 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008209/0.141, allocations: 0.4916 MB / 0.5656 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.141, allocations: 8.031 kB / 0.5656 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.1411, allocations: 54.67 kB / 0.5657 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1413, allocations: 24.69 kB / 0.5657 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1416, allocations: 216.1 kB / 0.5659 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1416, allocations: 8.703 kB / 0.5659 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1416, allocations: 20.38 kB / 0.5659 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.142, allocations: 249.5 kB / 0.5661 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.142, allocations: 0 / 0.5661 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.1421, allocations: 8 kB / 0.5662 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.1421, allocations: 4 kB / 0.5662 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.1427, allocations: 431.5 kB / 0.5666 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1438, allocations: 1.004 MB / 0.5675 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.1442, allocations: 170.1 kB / 0.5677 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1443, allocations: 60.89 kB / 0.5678 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.1459, allocations: 1.825 MB / 0.5696 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1459, allocations: 38.56 kB / 0.5696 GB, free: 12.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.1459, allocations: 0 / 0.5696 GB, free: 12.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003442/0.1463, allocations: 149.3 kB / 0.5697 GB, free: 11.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1463, allocations: 55.41 kB / 0.5698 GB, free: 11.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1465, allocations: 173.8 kB / 0.5699 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.1466, allocations: 29.7 kB / 0.57 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.1466, allocations: 139.8 kB / 0.5701 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1467, allocations: 55.34 kB / 0.5702 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/0.1468, allocations: 53.61 kB / 0.5702 GB, free: 11.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1469, allocations: 322.8 kB / 0.5705 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.147, allocations: 35.98 kB / 0.5706 GB, free: 10.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1471, allocations: 145.6 kB / 0.5707 GB, free: 10.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.1474, allocations: 199 kB / 0.5709 GB, free: 10.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1474, allocations: 0 / 0.5709 GB, free: 10.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000356/0.1478, allocations: 215 kB / 0.5711 GB, free: 10.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1478, allocations: 4 kB / 0.5711 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1478, allocations: 4 kB / 0.5711 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1479, allocations: 11.92 kB / 0.5711 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.148, allocations: 59.86 kB / 0.5712 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1481, allocations: 4 kB / 0.5712 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1482, allocations: 23.69 kB / 0.5712 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1482, allocations: 19.98 kB / 0.5712 GB, free: 10.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001035/0.1483, allocations: 133.9 kB / 0.5713 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.1484, allocations: 11.91 kB / 0.5714 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.1487, allocations: 162.8 kB / 0.5715 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.1487, allocations: 3.938 kB / 0.5715 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1487, allocations: 0 / 0.5715 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1487, allocations: 7.984 kB / 0.5715 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.149, allocations: 205.6 kB / 0.5717 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.149, allocations: 3.938 kB / 0.5717 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.1491, allocations: 23.98 kB / 0.5717 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1491, allocations: 8 kB / 0.5717 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1491, allocations: 0 / 0.5717 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1491, allocations: 3.938 kB / 0.5718 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1491, allocations: 0 / 0.5718 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1494, allocations: 233 kB / 0.572 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.1495, allocations: 108.8 kB / 0.5721 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1495, allocations: 4 kB / 0.5721 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1498, allocations: 19.92 kB / 0.5721 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1498, allocations: 15.98 kB / 0.5721 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1498, allocations: 4 kB / 0.5721 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.1499, allocations: 125.6 kB / 0.5722 GB, free: 9.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1499, allocations: 3.938 kB / 0.5722 GB, free: 9.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.1503, allocations: 76 kB / 0.5723 GB, free: 8.98 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007721/0.1511, allocations: 0.8292 MB / 0.5731 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1514, allocations: 122.2 kB / 0.5732 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1514, allocations: 0 / 0.5732 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.1514, allocations: 39.98 kB / 0.5733 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.1519, allocations: 56.78 kB / 0.5733 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.1542, allocations: 2.089 MB / 0.5754 GB, free: 5.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1545, allocations: 0.7131 MB / 0.5761 GB, free: 4.922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1547, allocations: 45.75 kB / 0.5761 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.1548, allocations: 43.42 kB / 0.5762 GB, free: 4.836 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1548, allocations: 0 / 0.5762 GB, free: 4.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.1861, allocations: 4.918 MB / 0.581 GB, free: 68 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2016/0.3877, allocations: 209.4 kB / 0.5812 GB, free: 35.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.318, allocations: 1.641 kB / 0.5812 GB, free: 35.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)