Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001276/0.001276, allocations: 96.66 kB / 15.69 MB, free: 480 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.001989/0.00199, allocations: 172.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.536/2.536, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9807/0.9807, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005854, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002246/0.2859, allocations: 0.961 MB / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.2928, allocations: 2.543 MB / 0.5601 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.293, allocations: 7.938 kB / 0.5601 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.2931, allocations: 3.984 kB / 0.5602 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.2932, allocations: 7.984 kB / 0.5602 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.2939, allocations: 83.72 kB / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2941, allocations: 23.97 kB / 0.5603 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.2941, allocations: 0 / 0.5603 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000799/0.295, allocations: 147.7 kB / 0.5604 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.295, allocations: 19.91 kB / 0.5604 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2951, allocations: 0 / 0.5604 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.2953, allocations: 47.92 kB / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.2954, allocations: 15.92 kB / 0.5605 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.2954, allocations: 29.7 kB / 0.5605 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2956, allocations: 28.23 kB / 0.5605 GB, free: 7.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2956, allocations: 0 / 0.5605 GB, free: 7.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2957, allocations: 4 kB / 0.5605 GB, free: 7.758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2957, allocations: 0 / 0.5605 GB, free: 7.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006519/0.2963, allocations: 339.4 kB / 0.5609 GB, free: 7.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.2964, allocations: 8.031 kB / 0.5609 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/0.2965, allocations: 34.55 kB / 0.5609 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.2966, allocations: 7.906 kB / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2968, allocations: 163 kB / 0.5611 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2968, allocations: 8 kB / 0.5611 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.2968, allocations: 3.953 kB / 0.5611 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2971, allocations: 57.61 kB / 0.5611 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2971, allocations: 0 / 0.5611 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.2971, allocations: 8 kB / 0.5611 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.2971, allocations: 0 / 0.5611 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.2972, allocations: 11.98 kB / 0.5612 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.2975, allocations: 165.7 kB / 0.5613 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2977, allocations: 54.5 kB / 0.5614 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.299, allocations: 0.5987 MB / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.2991, allocations: 38.56 kB / 0.562 GB, free: 6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.2991, allocations: 3.938 kB / 0.562 GB, free: 5.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001065/0.3002, allocations: 294.2 kB / 0.5623 GB, free: 5.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3002, allocations: 55.39 kB / 0.5623 GB, free: 5.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3004, allocations: 97.86 kB / 0.5624 GB, free: 5.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3004, allocations: 29.7 kB / 0.5624 GB, free: 5.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.3005, allocations: 88.05 kB / 0.5625 GB, free: 5.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.3006, allocations: 27.55 kB / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.3006, allocations: 8 kB / 0.5626 GB, free: 5.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003597/0.301, allocations: 318.8 kB / 0.5629 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.301, allocations: 15.98 kB / 0.5629 GB, free: 4.988 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3012, allocations: 61.08 kB / 0.5629 GB, free: 4.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.3012, allocations: 12 kB / 0.563 GB, free: 4.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3012, allocations: 4 kB / 0.563 GB, free: 4.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002538/0.3015, allocations: 93.55 kB / 0.563 GB, free: 4.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3016, allocations: 4 kB / 0.563 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3016, allocations: 4.406 kB / 0.5631 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3016, allocations: 4 kB / 0.5631 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3018, allocations: 23.92 kB / 0.5631 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3018, allocations: 4 kB / 0.5631 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.3019, allocations: 0 / 0.5631 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3019, allocations: 4 kB / 0.5631 GB, free: 4.754 MB / 430.1 MB 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 0.0001431/0.3021, allocations: 117.8 kB / 0.5632 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.3021, allocations: 11.89 kB / 0.5632 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.3022, allocations: 7.969 kB / 0.5632 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3022, allocations: 4 kB / 0.5632 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3022, allocations: 0 / 0.5632 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3022, allocations: 3.984 kB / 0.5632 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.3027, allocations: 177.7 kB / 0.5634 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3027, allocations: 3.938 kB / 0.5634 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.3029, allocations: 23.92 kB / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3029, allocations: 0 / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3029, allocations: 0 / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3029, allocations: 0 / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.303, allocations: 0 / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.3033, allocations: 171.5 kB / 0.5636 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.3034, allocations: 85.02 kB / 0.5637 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.3034, allocations: 8.469 kB / 0.5637 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3036, allocations: 4 kB / 0.5637 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.3037, allocations: 0 / 0.5637 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3037, allocations: 11.94 kB / 0.5637 GB, free: 4.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.796e-05/0.3038, allocations: 87.27 kB / 0.5638 GB, free: 3.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.487e-06/0.3038, allocations: 0 / 0.5638 GB, free: 3.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.3043, allocations: 15.94 kB / 0.5638 GB, free: 3.941 MB / 430.1 MB 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.0007357/0.305, allocations: 0.7055 MB / 0.5645 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.3052, allocations: 43.98 kB / 0.5645 GB, free: 3.164 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3052, allocations: 8.25 kB / 0.5645 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.3053, allocations: 11.94 kB / 0.5645 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3056, allocations: 8 kB / 0.5645 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3079, allocations: 1.417 MB / 0.5659 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.3084, allocations: 0.6971 MB / 0.5666 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.3085, allocations: 0 / 0.5666 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.3086, allocations: 19.48 kB / 0.5666 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3086, allocations: 4 kB / 0.5666 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3301, allocations: 1.401 MB / 0.568 GB, free: 15.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003855/0.3306, allocations: 194.4 kB / 0.5682 GB, free: 15.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/3.308, allocations: 0 / 0.5682 GB, free: 15.39 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: