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.00112/0.00112, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001016/0.001016, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.172/1.172, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6643/0.6643, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005835/0.3011, allocations: 4.421 MB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.3042, allocations: 2.69 MB / 0.5742 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.3043, allocations: 2.594 kB / 0.5742 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3045, allocations: 49.83 kB / 0.5743 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.3049, allocations: 95.38 kB / 0.5744 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3061, allocations: 496.5 kB / 0.5748 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.3064, allocations: 231.4 kB / 0.575 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.3065, allocations: 11.08 kB / 0.5751 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.3077, allocations: 419.1 kB / 0.5755 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.3078, allocations: 92.67 kB / 0.5755 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.3079, allocations: 7.844 kB / 0.5756 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.3092, allocations: 496 kB / 0.576 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.3093, allocations: 37.08 kB / 0.5761 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3095, allocations: 81.45 kB / 0.5761 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.3101, allocations: 343.3 kB / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3101, allocations: 1.719 kB / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3101, allocations: 0 / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3101, allocations: 1.469 kB / 0.5765 GB, free: 26.62 MB / 446.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.0006044/0.3107, allocations: 0.4963 MB / 0.577 GB, free: 26.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3108, allocations: 10.25 kB / 0.577 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.3108, allocations: 53.64 kB / 0.577 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.311, allocations: 27.58 kB / 0.577 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3111, allocations: 206.9 kB / 0.5772 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3112, allocations: 13.48 kB / 0.5773 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3112, allocations: 18.84 kB / 0.5773 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.3115, allocations: 247.1 kB / 0.5775 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3115, allocations: 3.938 kB / 0.5775 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.3116, allocations: 7.938 kB / 0.5775 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3116, allocations: 9.125 kB / 0.5775 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.3121, allocations: 431 kB / 0.5779 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.313, allocations: 1.001 MB / 0.5789 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.3132, allocations: 159 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.3133, allocations: 65.92 kB / 0.5791 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008989/0.3142, allocations: 1.824 MB / 0.5809 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3143, allocations: 38.22 kB / 0.5809 GB, free: 22.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3143, allocations: 3.938 kB / 0.5809 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003059/0.3146, allocations: 150.4 kB / 0.5811 GB, free: 22.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.3146, allocations: 57.22 kB / 0.5811 GB, free: 22.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3147, allocations: 168.5 kB / 0.5813 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3148, allocations: 31.83 kB / 0.5813 GB, free: 22.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.3148, allocations: 143 kB / 0.5815 GB, free: 22.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3149, allocations: 55.67 kB / 0.5815 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.3149, allocations: 49.2 kB / 0.5816 GB, free: 22.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.315, allocations: 327.3 kB / 0.5819 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.315, allocations: 37.86 kB / 0.5819 GB, free: 21.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.3151, allocations: 139.4 kB / 0.5821 GB, free: 21.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3153, allocations: 202.6 kB / 0.5822 GB, free: 21.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3153, allocations: 1.156 kB / 0.5822 GB, free: 21.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002835/0.3156, allocations: 218.4 kB / 0.5825 GB, free: 21.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3156, allocations: 9.125 kB / 0.5825 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3157, allocations: 5.344 kB / 0.5825 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3157, allocations: 8.891 kB / 0.5825 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3158, allocations: 54.58 kB / 0.5825 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3159, allocations: 10.23 kB / 0.5825 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.316, allocations: 32.7 kB / 0.5826 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.316, allocations: 17.28 kB / 0.5826 GB, free: 21.28 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 7.385e-05/0.3161, allocations: 127.9 kB / 0.5827 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.3161, allocations: 16.86 kB / 0.5827 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3164, allocations: 153.5 kB / 0.5829 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3164, allocations: 7 kB / 0.5829 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3164, allocations: 0 / 0.5829 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3164, allocations: 1.266 kB / 0.5829 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.3166, allocations: 220.1 kB / 0.5831 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3166, allocations: 0.625 kB / 0.5831 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.3167, allocations: 28.3 kB / 0.5831 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3167, allocations: 0 / 0.5831 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3167, allocations: 7.266 kB / 0.5831 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3167, allocations: 4.641 kB / 0.5831 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3167, allocations: 2.594 kB / 0.5831 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3169, allocations: 213.9 kB / 0.5833 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.317, allocations: 105.9 kB / 0.5834 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.317, allocations: 5.25 kB / 0.5834 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3173, allocations: 20.59 kB / 0.5835 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3173, allocations: 13.38 kB / 0.5835 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3173, allocations: 11 kB / 0.5835 GB, free: 20.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.3174, allocations: 121.9 kB / 0.5836 GB, free: 20.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3174, allocations: 3.938 kB / 0.5836 GB, free: 20.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.3178, allocations: 76.36 kB / 0.5837 GB, free: 20.45 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.0005344/0.3183, allocations: 0.8359 MB / 0.5845 GB, free: 19.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.3185, allocations: 124.2 kB / 0.5846 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3185, allocations: 0 / 0.5846 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.26e-05/0.3186, allocations: 45.27 kB / 0.5847 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.319, allocations: 63.84 kB / 0.5847 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3207, allocations: 2.036 MB / 0.5867 GB, free: 17.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3208, allocations: 0.7202 MB / 0.5874 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.321, allocations: 47.67 kB / 0.5875 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.321, allocations: 48.27 kB / 0.5875 GB, free: 17.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.321, allocations: 0.9688 kB / 0.5875 GB, free: 17.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.404/0.725, allocations: 5.1 MB / 0.5925 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.576, allocations: 21.33 kB / 0.5925 GB, free: 14.57 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)