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.0006906/0.0006908, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001022/0.001022, allocations: 174.7 kB / 16.27 MB, free: 6.66 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6938/0.6938, allocations: 132.3 MB / 423.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 13.03 kB / 0.5041 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3628, allocations: 81.57 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01407/0.3769, allocations: 13.36 MB / 0.5968 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.3798, allocations: 2.665 MB / 0.5994 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.3799, allocations: 0 / 0.5994 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3801, allocations: 36.77 kB / 0.5994 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.3803, allocations: 85.14 kB / 0.5995 GB, free: 8.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3814, allocations: 459 kB / 0.5999 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3816, allocations: 305.5 kB / 0.6002 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.3817, allocations: 13.16 kB / 0.6003 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007694/0.3894, allocations: 3.16 MB / 0.6033 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3895, allocations: 90.84 kB / 0.6034 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3896, allocations: 6.469 kB / 0.6034 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.3917, allocations: 0.9721 MB / 0.6044 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.3918, allocations: 34.95 kB / 0.6044 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.3919, allocations: 109.4 kB / 0.6045 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.3924, allocations: 367.1 kB / 0.6049 GB, free: 5.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3924, allocations: 0 / 0.6049 GB, free: 5.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3924, allocations: 0 / 0.6049 GB, free: 5.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3925, allocations: 5 kB / 0.6049 GB, free: 5.723 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.0006219/0.3931, allocations: 468.7 kB / 0.6053 GB, free: 5.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3931, allocations: 9.375 kB / 0.6053 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.3932, allocations: 53.64 kB / 0.6054 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3933, allocations: 25.14 kB / 0.6054 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3935, allocations: 221.7 kB / 0.6056 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3936, allocations: 10.89 kB / 0.6056 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3936, allocations: 13.66 kB / 0.6056 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.394, allocations: 254.8 kB / 0.6059 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.394, allocations: 3.984 kB / 0.6059 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.3941, allocations: 7.594 kB / 0.6059 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.3941, allocations: 8.828 kB / 0.6059 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.3947, allocations: 432.8 kB / 0.6063 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3959, allocations: 0.9631 MB / 0.6073 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3962, allocations: 165.4 kB / 0.6074 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.3963, allocations: 62.59 kB / 0.6075 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.3975, allocations: 1.832 MB / 0.6093 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3975, allocations: 36.59 kB / 0.6093 GB, free: 1.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.3976, allocations: 5.344 kB / 0.6093 GB, free: 1.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002954/0.3979, allocations: 153.8 kB / 0.6094 GB, free: 1.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3979, allocations: 53.41 kB / 0.6095 GB, free: 1.219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.398, allocations: 162.7 kB / 0.6097 GB, free: 1.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3981, allocations: 32.73 kB / 0.6097 GB, free: 1.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.3981, allocations: 142.4 kB / 0.6098 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3982, allocations: 58.45 kB / 0.6099 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3982, allocations: 28.98 kB / 0.6099 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.3983, allocations: 325.6 kB / 0.6102 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.3984, allocations: 34.36 kB / 0.6102 GB, free: 0.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3985, allocations: 142.6 kB / 0.6104 GB, free: 352 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3987, allocations: 198.9 kB / 0.6106 GB, free: 160 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3987, allocations: 1.062 kB / 0.6106 GB, free: 160 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000298/0.399, allocations: 219.7 kB / 0.6108 GB, free: 36 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3991, allocations: 7.344 kB / 0.6108 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3991, allocations: 3.312 kB / 0.6108 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.3991, allocations: 13.44 kB / 0.6108 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.3993, allocations: 57.73 kB / 0.6109 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3993, allocations: 4.188 kB / 0.6109 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.3994, allocations: 32.62 kB / 0.6109 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3994, allocations: 10.69 kB / 0.6109 GB, free: 15.98 MB / 462.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.325e-05/0.3995, allocations: 126.8 kB / 0.611 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.3996, allocations: 21.62 kB / 0.611 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3999, allocations: 166.2 kB / 0.6112 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3999, allocations: 5.469 kB / 0.6112 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3999, allocations: 5.422 kB / 0.6112 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3999, allocations: 0 / 0.6112 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4001, allocations: 213 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4001, allocations: 1.375 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.4002, allocations: 22.52 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4002, allocations: 1.094 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4003, allocations: 5.938 kB / 0.6115 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4003, allocations: 5 kB / 0.6115 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4003, allocations: 7.984 kB / 0.6115 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.4005, allocations: 216.9 kB / 0.6117 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.4006, allocations: 117.2 kB / 0.6118 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4006, allocations: 1.312 kB / 0.6118 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4008, allocations: 24.2 kB / 0.6118 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.4008, allocations: 9.609 kB / 0.6118 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4009, allocations: 14.56 kB / 0.6118 GB, free: 15.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.545e-05/0.401, allocations: 121.7 kB / 0.6119 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.401, allocations: 0 / 0.6119 GB, free: 15.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.4013, allocations: 82.55 kB / 0.612 GB, free: 15.05 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.0006892/0.402, allocations: 0.8322 MB / 0.6128 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.4023, allocations: 116 kB / 0.6129 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4023, allocations: 5.5 kB / 0.613 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.4023, allocations: 47.17 kB / 0.613 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.4028, allocations: 52.98 kB / 0.613 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4047, allocations: 2.121 MB / 0.6151 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.405, allocations: 0.7092 MB / 0.6158 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000175/0.4052, allocations: 52.75 kB / 0.6159 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.4052, allocations: 45.39 kB / 0.6159 GB, free: 11.6 MB / 462.1 MB Notification: Performance of SimCode: time 4e-07/0.4052, allocations: 0 / 0.6159 GB, free: 11.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4498/0.855, allocations: 5.149 MB / 0.6209 GB, free: 9.133 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.8554, allocations: 197.7 kB / 0.6211 GB, free: 8.883 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.844, allocations: 0 / 0.6211 GB, free: 8.883 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)