Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.00171/0.001709, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002416/0.002416, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.31 kB / 0.5049 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 80.94 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01358/0.1419, allocations: 13.1 MB / 0.5968 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1441, allocations: 2.656 MB / 0.5994 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.1442, allocations: 0 / 0.5994 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1445, allocations: 39.8 kB / 0.5994 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1447, allocations: 91.44 kB / 0.5995 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.1456, allocations: 473.9 kB / 0.6 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1458, allocations: 239.9 kB / 0.6002 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.1458, allocations: 5.562 kB / 0.6002 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.1522, allocations: 3.362 MB / 0.6035 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1523, allocations: 91.59 kB / 0.6036 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1523, allocations: 12 kB / 0.6036 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2279/0.3803, allocations: 1.037 MB / 0.6046 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.3804, allocations: 40.55 kB / 0.6046 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3805, allocations: 79 kB / 0.6047 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.3812, allocations: 374 kB / 0.6051 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3812, allocations: 0.625 kB / 0.6051 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3812, allocations: 0 / 0.6051 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3813, allocations: 2.188 kB / 0.6051 GB, free: 39.08 MB / 0.4981 GB 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.0005728/0.3818, allocations: 0.4943 MB / 0.6055 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3819, allocations: 11.38 kB / 0.6056 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3819, allocations: 50.84 kB / 0.6056 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3821, allocations: 21.91 kB / 0.6056 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3822, allocations: 227.9 kB / 0.6058 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3822, allocations: 16.94 kB / 0.6059 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3823, allocations: 14.62 kB / 0.6059 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.3826, allocations: 244.9 kB / 0.6061 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3826, allocations: 1.062 kB / 0.6061 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3826, allocations: 5.812 kB / 0.6061 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.3826, allocations: 9.172 kB / 0.6061 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.383, allocations: 427.6 kB / 0.6065 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.3837, allocations: 0.967 MB / 0.6075 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.384, allocations: 153.1 kB / 0.6076 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.384, allocations: 69.81 kB / 0.6077 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000764/0.3848, allocations: 1.832 MB / 0.6095 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.3848, allocations: 34 kB / 0.6095 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3848, allocations: 0 / 0.6095 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002736/0.3851, allocations: 148.9 kB / 0.6096 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.3852, allocations: 57.03 kB / 0.6097 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.3853, allocations: 169.2 kB / 0.6099 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3853, allocations: 25.7 kB / 0.6099 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.3853, allocations: 155.9 kB / 0.61 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3854, allocations: 51.23 kB / 0.6101 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.3854, allocations: 50.86 kB / 0.6101 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.3855, allocations: 328.3 kB / 0.6104 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.3855, allocations: 40.17 kB / 0.6105 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.3856, allocations: 142.5 kB / 0.6106 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3857, allocations: 199.8 kB / 0.6108 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3858, allocations: 0 / 0.6108 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002415/0.386, allocations: 219.5 kB / 0.611 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.386, allocations: 8.312 kB / 0.611 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.386, allocations: 5.031 kB / 0.611 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3861, allocations: 5.438 kB / 0.611 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3862, allocations: 60.38 kB / 0.6111 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3862, allocations: 2.875 kB / 0.6111 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.3863, allocations: 30.34 kB / 0.6111 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3863, allocations: 15.5 kB / 0.6111 GB, free: 34.57 MB / 0.4981 GB 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.223e-05/0.3864, allocations: 135.3 kB / 0.6113 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3865, allocations: 16.62 kB / 0.6113 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.3867, allocations: 156.2 kB / 0.6114 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3867, allocations: 3.938 kB / 0.6114 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3867, allocations: 3.625 kB / 0.6114 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3867, allocations: 3.469 kB / 0.6114 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3869, allocations: 208.9 kB / 0.6116 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3869, allocations: 1.125 kB / 0.6116 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.387, allocations: 26.16 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.387, allocations: 2.906 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.387, allocations: 7.156 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.387, allocations: 8.125 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.387, allocations: 0.75 kB / 0.6117 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3872, allocations: 217.9 kB / 0.6119 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3873, allocations: 110 kB / 0.612 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3873, allocations: 6.5 kB / 0.612 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3875, allocations: 20.81 kB / 0.612 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.3875, allocations: 15.53 kB / 0.612 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3875, allocations: 14.73 kB / 0.6121 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.3876, allocations: 116.8 kB / 0.6122 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3876, allocations: 0 / 0.6122 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003231/0.3879, allocations: 80.5 kB / 0.6122 GB, free: 33.88 MB / 0.4981 GB 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.0005084/0.3884, allocations: 0.8419 MB / 0.6131 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.3886, allocations: 121.1 kB / 0.6132 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3886, allocations: 3.188 kB / 0.6132 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.3887, allocations: 42.16 kB / 0.6132 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3891, allocations: 59.59 kB / 0.6133 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3906, allocations: 2.077 MB / 0.6153 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.3907, allocations: 0.7175 MB / 0.616 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000156/0.3909, allocations: 51.89 kB / 0.6161 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.3909, allocations: 46.94 kB / 0.6161 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3909, allocations: 3.469 kB / 0.6161 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.07/4.461, allocations: 5.34 MB / 0.6213 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/4.461, allocations: 208.8 kB / 0.6215 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/6.985, allocations: 0 / 0.6215 GB, free: 30.12 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)