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.001479/0.001479, allocations: 96.27 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.001916/0.001916, allocations: 176.3 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.486/2.486, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.217/1.217, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005591, allocations: 8 kB / 493 MB, free: 8.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3059, allocations: 77.12 MB / 0.5567 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.008265/0.3142, allocations: 3.672 MB / 0.5603 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.3186, allocations: 2.167 MB / 0.5624 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.3188, allocations: 3.938 kB / 0.5624 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.3192, allocations: 39.8 kB / 0.5625 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.3196, allocations: 79.75 kB / 0.5625 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.3217, allocations: 420 kB / 0.5629 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.3221, allocations: 148.7 kB / 0.5631 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.3222, allocations: 17.53 kB / 0.5631 GB, free: 5.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.3238, allocations: 399.2 kB / 0.5635 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3239, allocations: 71.73 kB / 0.5635 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.324, allocations: 8 kB / 0.5635 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.3258, allocations: 431.4 kB / 0.564 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.326, allocations: 31.89 kB / 0.564 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.326, allocations: 53.64 kB / 0.564 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.3267, allocations: 215.7 kB / 0.5642 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3267, allocations: 0 / 0.5642 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3267, allocations: 0 / 0.5642 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3267, allocations: 0 / 0.5642 GB, free: 3.996 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.001092/0.3278, allocations: 467.2 kB / 0.5647 GB, free: 3.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.3279, allocations: 8.031 kB / 0.5647 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.145e-05/0.328, allocations: 62.53 kB / 0.5648 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.3283, allocations: 19.81 kB / 0.5648 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3286, allocations: 210.7 kB / 0.565 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3287, allocations: 16.27 kB / 0.565 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.3287, allocations: 19.95 kB / 0.565 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.3293, allocations: 237.6 kB / 0.5652 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3293, allocations: 4 kB / 0.5652 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3294, allocations: 8 kB / 0.5653 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.3294, allocations: 8 kB / 0.5653 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.3304, allocations: 435.4 kB / 0.5657 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.3325, allocations: 1.031 MB / 0.5667 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.3331, allocations: 164.7 kB / 0.5668 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002504/0.3356, allocations: 1.837 MB / 0.5686 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.3357, allocations: 42.5 kB / 0.5687 GB, free: 14.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.445e-06/0.3357, allocations: 0 / 0.5687 GB, free: 14.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006108/0.3363, allocations: 138.1 kB / 0.5688 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3364, allocations: 55.41 kB / 0.5689 GB, free: 14.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3367, allocations: 169.7 kB / 0.569 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.3367, allocations: 29.7 kB / 0.569 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3369, allocations: 139.7 kB / 0.5692 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/0.337, allocations: 59.27 kB / 0.5692 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.3371, allocations: 4 kB / 0.5692 GB, free: 14.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000265/0.3373, allocations: 330.8 kB / 0.5696 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3375, allocations: 27.98 kB / 0.5696 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.3378, allocations: 145.6 kB / 0.5697 GB, free: 13.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3379, allocations: 57.56 kB / 0.5698 GB, free: 13.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.338, allocations: 4 kB / 0.5698 GB, free: 13.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005796/0.3386, allocations: 213.1 kB / 0.57 GB, free: 13.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.3386, allocations: 4 kB / 0.57 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3386, allocations: 4 kB / 0.57 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.3387, allocations: 8 kB / 0.57 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.339, allocations: 56.38 kB / 0.5701 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.3391, allocations: 11.94 kB / 0.5701 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.3393, allocations: 35.67 kB / 0.5701 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.3394, allocations: 12 kB / 0.5701 GB, free: 13.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.3396, allocations: 133.7 kB / 0.5702 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.3397, allocations: 15.81 kB / 0.5703 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.3402, allocations: 151.2 kB / 0.5704 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.3403, allocations: 4 kB / 0.5704 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3403, allocations: 7.984 kB / 0.5704 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3403, allocations: 0 / 0.5704 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3408, allocations: 221.4 kB / 0.5706 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3408, allocations: 0 / 0.5706 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.341, allocations: 39.84 kB / 0.5707 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.341, allocations: 4 kB / 0.5707 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3411, allocations: 8 kB / 0.5707 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3411, allocations: 0 / 0.5707 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3411, allocations: 0 / 0.5707 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.3415, allocations: 223.2 kB / 0.5709 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.3417, allocations: 109 kB / 0.571 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.3418, allocations: 0 / 0.571 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3421, allocations: 22.09 kB / 0.571 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3422, allocations: 15.92 kB / 0.571 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.3423, allocations: 11.98 kB / 0.571 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3425, allocations: 121.8 kB / 0.5712 GB, free: 12.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3425, allocations: 0 / 0.5712 GB, free: 12.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008487/0.3433, allocations: 83.92 kB / 0.5712 GB, free: 12.05 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 (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.001164/0.3445, allocations: 0.8182 MB / 0.572 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3449, allocations: 119.1 kB / 0.5721 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3449, allocations: 0 / 0.5721 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3451, allocations: 47.91 kB / 0.5722 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.3457, allocations: 50.92 kB / 0.5722 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.3499, allocations: 3.266 MB / 0.5754 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.3505, allocations: 0.7289 MB / 0.5761 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.3509, allocations: 44.27 kB / 0.5762 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.351, allocations: 51.41 kB / 0.5762 GB, free: 6.781 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.351, allocations: 3.938 kB / 0.5762 GB, free: 6.777 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3801, allocations: 4.671 MB / 0.5808 GB, free: 2.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004251/0.3806, allocations: 173.6 kB / 0.581 GB, free: 2.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/3.833, allocations: 0 / 0.581 GB, free: 2.035 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/linux/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) Environment - environmentSimulation: