Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_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.001052/0.001052, allocations: 108 kB / 15.61 MB, free: 152 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.001061/0.001061, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7707/0.7707, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.5 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3605, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0151/0.3756, allocations: 12.96 MB / 0.5929 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.3787, allocations: 2.676 MB / 0.5955 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.3788, allocations: 1.406 kB / 0.5955 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.3791, allocations: 45.38 kB / 0.5955 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.3794, allocations: 101.4 kB / 0.5956 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3807, allocations: 0.4959 MB / 0.5961 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.381, allocations: 228.3 kB / 0.5963 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.3811, allocations: 9.75 kB / 0.5963 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008962/0.39, allocations: 3.581 MB / 0.5998 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3902, allocations: 100.6 kB / 0.5999 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.3903, allocations: 8.344 kB / 0.5999 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.3928, allocations: 1.072 MB / 0.601 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.3929, allocations: 37.36 kB / 0.601 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.393, allocations: 80.5 kB / 0.6011 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.3937, allocations: 374.9 kB / 0.6014 GB, free: 6.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3937, allocations: 0 / 0.6014 GB, free: 6.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3937, allocations: 0 / 0.6014 GB, free: 6.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3937, allocations: 1.188 kB / 0.6014 GB, free: 6.164 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.0006642/0.3944, allocations: 0.4903 MB / 0.6019 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3944, allocations: 8.906 kB / 0.6019 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.3945, allocations: 56.91 kB / 0.602 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.3947, allocations: 22.81 kB / 0.602 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3949, allocations: 224.3 kB / 0.6022 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3949, allocations: 15.14 kB / 0.6022 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3949, allocations: 14.66 kB / 0.6022 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.3953, allocations: 250 kB / 0.6025 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3953, allocations: 1.375 kB / 0.6025 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.3953, allocations: 6.906 kB / 0.6025 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.3954, allocations: 4.938 kB / 0.6025 GB, free: 5.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.3958, allocations: 441.5 kB / 0.6029 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3969, allocations: 0.9608 MB / 0.6039 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3971, allocations: 158.3 kB / 0.604 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.3972, allocations: 62.17 kB / 0.6041 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.3984, allocations: 1.839 MB / 0.6059 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3985, allocations: 44.59 kB / 0.6059 GB, free: 1.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.3985, allocations: 1.219 kB / 0.6059 GB, free: 1.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003176/0.3988, allocations: 142 kB / 0.606 GB, free: 1.711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3988, allocations: 53.56 kB / 0.6061 GB, free: 1.648 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.399, allocations: 178.9 kB / 0.6063 GB, free: 1.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.399, allocations: 31.02 kB / 0.6063 GB, free: 1.465 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.3991, allocations: 143.2 kB / 0.6064 GB, free: 1.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.3991, allocations: 54.98 kB / 0.6065 GB, free: 1.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3992, allocations: 52.8 kB / 0.6065 GB, free: 1.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.3993, allocations: 327.2 kB / 0.6068 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.3994, allocations: 32.2 kB / 0.6069 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3995, allocations: 146.5 kB / 0.607 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.3997, allocations: 190.6 kB / 0.6072 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3997, allocations: 6.281 kB / 0.6072 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003157/0.4001, allocations: 226.7 kB / 0.6074 GB, free: 448 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4001, allocations: 6.281 kB / 0.6074 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4001, allocations: 2.625 kB / 0.6074 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4001, allocations: 9.719 kB / 0.6074 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4003, allocations: 53.14 kB / 0.6075 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4003, allocations: 4.406 kB / 0.6075 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4004, allocations: 24.84 kB / 0.6075 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.4004, allocations: 18.05 kB / 0.6075 GB, free: 408 kB / 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 9.648e-05/0.4005, allocations: 134.7 kB / 0.6077 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.4006, allocations: 13.03 kB / 0.6077 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.4009, allocations: 155.2 kB / 0.6078 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.4009, allocations: 10.3 kB / 0.6078 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4009, allocations: 1.375 kB / 0.6078 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4009, allocations: 3.984 kB / 0.6078 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.4012, allocations: 214.1 kB / 0.608 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4012, allocations: 0 / 0.608 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.4013, allocations: 22.83 kB / 0.6081 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4013, allocations: 1.188 kB / 0.6081 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4013, allocations: 17.97 kB / 0.6081 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4013, allocations: 3.938 kB / 0.6081 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4013, allocations: 1.062 kB / 0.6081 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.4015, allocations: 218.3 kB / 0.6083 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.4016, allocations: 109.8 kB / 0.6084 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.4017, allocations: 9.359 kB / 0.6084 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4019, allocations: 10.97 kB / 0.6084 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.4019, allocations: 17.52 kB / 0.6084 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4019, allocations: 14.73 kB / 0.6084 GB, free: 15.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.402, allocations: 122 kB / 0.6086 GB, free: 15.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.402, allocations: 0 / 0.6086 GB, free: 15.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.4024, allocations: 82.38 kB / 0.6086 GB, free: 15.46 MB / 462.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.0007188/0.4031, allocations: 0.8243 MB / 0.6094 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.4034, allocations: 133.5 kB / 0.6096 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4034, allocations: 1.406 kB / 0.6096 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.4035, allocations: 44.77 kB / 0.6096 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4039, allocations: 55.55 kB / 0.6097 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.406, allocations: 2.02 MB / 0.6116 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.4062, allocations: 0.716 MB / 0.6123 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.4064, allocations: 52.36 kB / 0.6124 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.4064, allocations: 49.33 kB / 0.6124 GB, free: 12.09 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4064, allocations: 3.938 kB / 0.6124 GB, free: 12.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.4377, allocations: 5.422 MB / 0.6177 GB, free: 9.359 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.918/9.356, allocations: 5.297 kB / 0.6177 GB, free: 9.355 MB / 462.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)