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.001414/0.001414, allocations: 103.4 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.001683/0.001683, allocations: 196.9 kB / 16.26 MB, free: 6.625 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6893/0.6893, allocations: 132.2 MB / 422.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 58.75 kB / 0.5014 GB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3778, allocations: 80.2 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.016/0.3939, allocations: 13.1 MB / 0.5925 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3971, allocations: 2.663 MB / 0.5951 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.3972, allocations: 1.062 kB / 0.5951 GB, free: 9.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3976, allocations: 41.69 kB / 0.5951 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.3979, allocations: 88.19 kB / 0.5952 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3992, allocations: 473.9 kB / 0.5956 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.3995, allocations: 228.6 kB / 0.5959 GB, free: 9.141 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.3996, allocations: 9.812 kB / 0.5959 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4097, allocations: 3.372 MB / 0.5992 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.41, allocations: 94.94 kB / 0.5993 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.41, allocations: 8.188 kB / 0.5993 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.413, allocations: 1.04 MB / 0.6003 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.413, allocations: 39.39 kB / 0.6003 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4132, allocations: 84.72 kB / 0.6004 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007847/0.414, allocations: 359.1 kB / 0.6007 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.414, allocations: 5.094 kB / 0.6007 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.414, allocations: 0 / 0.6007 GB, free: 6.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.414, allocations: 4 kB / 0.6007 GB, free: 6.414 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.0007638/0.4148, allocations: 0.5027 MB / 0.6012 GB, free: 5.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4148, allocations: 9.969 kB / 0.6012 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/0.4149, allocations: 52.14 kB / 0.6013 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.4151, allocations: 29.64 kB / 0.6013 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4153, allocations: 217.5 kB / 0.6015 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4153, allocations: 11.2 kB / 0.6015 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.4154, allocations: 19.22 kB / 0.6016 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.4158, allocations: 253.7 kB / 0.6018 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4158, allocations: 0 / 0.6018 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.4158, allocations: 11.38 kB / 0.6018 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.4159, allocations: 5.531 kB / 0.6018 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.4164, allocations: 432.4 kB / 0.6022 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.4176, allocations: 0.9608 MB / 0.6032 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.4179, allocations: 165.9 kB / 0.6033 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.418, allocations: 70.72 kB / 0.6034 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.4194, allocations: 1.827 MB / 0.6052 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4195, allocations: 37.09 kB / 0.6052 GB, free: 2.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4195, allocations: 0 / 0.6052 GB, free: 2.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003469/0.4198, allocations: 155.5 kB / 0.6054 GB, free: 1.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4199, allocations: 52.66 kB / 0.6054 GB, free: 1.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.42, allocations: 171.4 kB / 0.6056 GB, free: 1.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4201, allocations: 30.95 kB / 0.6056 GB, free: 1.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.4202, allocations: 143.4 kB / 0.6057 GB, free: 1.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.4202, allocations: 46.36 kB / 0.6058 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.4203, allocations: 56.95 kB / 0.6058 GB, free: 1.484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4204, allocations: 322.1 kB / 0.6062 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.4205, allocations: 42.72 kB / 0.6062 GB, free: 1.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4206, allocations: 142.7 kB / 0.6063 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.4209, allocations: 193 kB / 0.6065 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4209, allocations: 5.094 kB / 0.6065 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003243/0.4212, allocations: 219.6 kB / 0.6067 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4212, allocations: 6.469 kB / 0.6067 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4212, allocations: 4.344 kB / 0.6067 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4213, allocations: 13.44 kB / 0.6067 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.4214, allocations: 48.77 kB / 0.6068 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4215, allocations: 9.703 kB / 0.6068 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.4216, allocations: 28.89 kB / 0.6068 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4216, allocations: 14.59 kB / 0.6068 GB, free: 0.6406 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 0.000106/0.4217, allocations: 131 kB / 0.607 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.4218, allocations: 15.84 kB / 0.607 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.4221, allocations: 169 kB / 0.6071 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4221, allocations: 6.156 kB / 0.6072 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4221, allocations: 0 / 0.6072 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4222, allocations: 0 / 0.6072 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.4224, allocations: 217.9 kB / 0.6074 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4224, allocations: 1.125 kB / 0.6074 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.4225, allocations: 22.59 kB / 0.6074 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4225, allocations: 5.5 kB / 0.6074 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4226, allocations: 9.422 kB / 0.6074 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4226, allocations: 5.312 kB / 0.6074 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4226, allocations: 0 / 0.6074 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.4228, allocations: 217 kB / 0.6076 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.4229, allocations: 113.9 kB / 0.6077 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.423, allocations: 5.25 kB / 0.6077 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4232, allocations: 19.73 kB / 0.6077 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.4232, allocations: 9.672 kB / 0.6078 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.4233, allocations: 14.56 kB / 0.6078 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.517e-05/0.4233, allocations: 122.2 kB / 0.6079 GB, free: 15.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4234, allocations: 0 / 0.6079 GB, free: 15.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.4238, allocations: 82.58 kB / 0.608 GB, free: 15.7 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.0007728/0.4246, allocations: 0.826 MB / 0.6088 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.4248, allocations: 132.1 kB / 0.6089 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4248, allocations: 0 / 0.6089 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.4249, allocations: 49.12 kB / 0.6089 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4254, allocations: 59.45 kB / 0.609 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.4276, allocations: 2.079 MB / 0.611 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.428, allocations: 0.7125 MB / 0.6117 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.4282, allocations: 45.72 kB / 0.6118 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.4283, allocations: 45.61 kB / 0.6118 GB, free: 12.28 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4283, allocations: 3.938 kB / 0.6118 GB, free: 12.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2781/0.7063, allocations: 5.33 MB / 0.617 GB, free: 9.68 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.7066, allocations: 199.2 kB / 0.6172 GB, free: 9.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.993, allocations: 1.344 kB / 0.6172 GB, free: 9.43 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)