Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.422/1.422, allocations: 287.4 MB / 302.6 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009275/0.0009274, allocations: 178.3 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006869/0.0006868, allocations: 90.36 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 10.33 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.0008993/0.1489, allocations: 0.9782 MB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1514, allocations: 2.743 MB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1514, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.1514, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.1515, allocations: 7.984 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1519, allocations: 75.62 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.1519, allocations: 35.86 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.152, allocations: 4 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.1524, allocations: 143.6 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.1524, allocations: 23.86 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1525, allocations: 4 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1526, allocations: 43.84 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1526, allocations: 7.984 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.1526, allocations: 29.7 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.433e-05/0.1527, allocations: 36.17 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1527, allocations: 0 / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1527, allocations: 0 / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1527, allocations: 0 / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000255/0.153, allocations: 335.6 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.153, allocations: 8.031 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.1531, allocations: 30.75 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.1531, allocations: 8.844 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.663e-05/0.1532, allocations: 172.2 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1532, allocations: 8.375 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1532, allocations: 4.375 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.926e-05/0.1533, allocations: 57.61 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1533, allocations: 4 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1533, allocations: 0 / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1533, allocations: 3.984 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.1534, allocations: 23.97 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.1535, allocations: 161.7 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.1536, allocations: 54.48 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.1536, allocations: 16.86 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.1541, allocations: 0.6023 MB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.1541, allocations: 30.56 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1541, allocations: 0 / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004621/0.1546, allocations: 302.9 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.1546, allocations: 59.41 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.1547, allocations: 105.8 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.1547, allocations: 25.7 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.959e-05/0.1547, allocations: 91.98 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.1547, allocations: 27.56 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1548, allocations: 0 / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.349e-05/0.1548, allocations: 314.8 kB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.1548, allocations: 12 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.1549, allocations: 61.08 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.1549, allocations: 69.08 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1549, allocations: 8 kB / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001022/0.155, allocations: 89.55 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1551, allocations: 4 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1551, allocations: 3.938 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1551, allocations: 4 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.1552, allocations: 19.94 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1552, allocations: 7.984 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.1552, allocations: 7.938 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1552, allocations: 8.125 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.1553, allocations: 117.8 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1553, allocations: 7.906 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.1553, allocations: 7.969 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1553, allocations: 3.938 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1553, allocations: 0 / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1553, allocations: 3.938 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1555, allocations: 173.9 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1555, allocations: 3.938 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.1556, allocations: 23.98 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1556, allocations: 0 / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1556, allocations: 0 / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1556, allocations: 0 / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1556, allocations: 3.984 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1557, allocations: 171.5 kB / 0.9859 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1558, allocations: 85.02 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1558, allocations: 3.938 kB / 0.986 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.1559, allocations: 16.03 kB / 0.986 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.1559, allocations: 3.938 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1559, allocations: 4 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.512e-05/0.1559, allocations: 79.28 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1559, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001999/0.1561, allocations: 12 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.1564, allocations: 0.7047 MB / 0.9868 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.1565, allocations: 43.84 kB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1565, allocations: 4 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.1565, allocations: 12 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1568, allocations: 14.47 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.1574, allocations: 0.6777 MB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.51e-05/0.1575, allocations: 0.69 MB / 0.9882 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1576, allocations: 11.97 kB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1576, allocations: 15.5 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1576, allocations: 0 / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2324/0.39, allocations: 1.41 MB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.3902, allocations: 197.6 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.997, allocations: 4 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)