Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.001046/0.001047, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001192/0.001192, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9617/0.9617, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 9.281 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 82.31 MB / 0.5875 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001237/0.1748, allocations: 0.99 MB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4676/0.6424, allocations: 119.6 MB / 0.7052 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.6425, allocations: 0 / 0.7052 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.6425, allocations: 1.156 kB / 0.7052 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.6426, allocations: 5.25 kB / 0.7052 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.6429, allocations: 49.23 kB / 0.7053 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.643, allocations: 14.55 kB / 0.7053 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.6431, allocations: 6.188 kB / 0.7053 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.6431, allocations: 10.19 kB / 0.7053 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.6432, allocations: 9.328 kB / 0.7053 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.6432, allocations: 0 / 0.7053 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.6433, allocations: 15.88 kB / 0.7053 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.6433, allocations: 6.562 kB / 0.7053 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.6434, allocations: 27.48 kB / 0.7054 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.6434, allocations: 15.33 kB / 0.7054 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6435, allocations: 5.781 kB / 0.7054 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6435, allocations: 0 / 0.7054 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6435, allocations: 0 / 0.7054 GB, free: 5.461 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003955/0.6439, allocations: 331 kB / 0.7057 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6439, allocations: 9.125 kB / 0.7057 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.644, allocations: 32.72 kB / 0.7057 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.644, allocations: 1.281 kB / 0.7057 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.6441, allocations: 165.1 kB / 0.7059 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.6442, allocations: 37.03 kB / 0.7059 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.6442, allocations: 5.344 kB / 0.7059 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.6443, allocations: 37.58 kB / 0.706 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.6444, allocations: 1.125 kB / 0.706 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.6444, allocations: 0 / 0.706 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6444, allocations: 4.844 kB / 0.706 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.6445, allocations: 15.16 kB / 0.706 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.6447, allocations: 156.6 kB / 0.7062 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6448, allocations: 38.78 kB / 0.7062 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.6449, allocations: 11.86 kB / 0.7062 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.6451, allocations: 90.2 kB / 0.7063 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.6451, allocations: 30.56 kB / 0.7063 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.6451, allocations: 4.547 kB / 0.7063 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002515/0.6454, allocations: 63.5 kB / 0.7064 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.6455, allocations: 52.84 kB / 0.7064 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.6455, allocations: 94.77 kB / 0.7065 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.6456, allocations: 25.7 kB / 0.7065 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.6456, allocations: 81.17 kB / 0.7066 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.6457, allocations: 17.84 kB / 0.7066 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.6457, allocations: 5.531 kB / 0.7066 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6458, allocations: 315.4 kB / 0.7069 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.6458, allocations: 10.69 kB / 0.707 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.6459, allocations: 10.17 kB / 0.707 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.646, allocations: 5.828 kB / 0.707 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.646, allocations: 1 kB / 0.707 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001234/0.6461, allocations: 47.97 kB / 0.707 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6461, allocations: 6.125 kB / 0.707 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6461, allocations: 0 / 0.707 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6461, allocations: 1 kB / 0.707 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.6462, allocations: 6.828 kB / 0.707 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.6462, allocations: 4.609 kB / 0.707 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.6463, allocations: 1.766 kB / 0.707 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.6463, allocations: 1.219 kB / 0.707 GB, free: 3.719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 9.996e-05/0.6464, allocations: 124.8 kB / 0.7072 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.6464, allocations: 1.344 kB / 0.7072 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6466, allocations: 56.62 kB / 0.7072 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.6466, allocations: 1.438 kB / 0.7072 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6466, allocations: 4 kB / 0.7072 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6466, allocations: 1.344 kB / 0.7072 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.6468, allocations: 157.4 kB / 0.7074 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6468, allocations: 0 / 0.7074 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.6468, allocations: 9.766 kB / 0.7074 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6468, allocations: 1.5 kB / 0.7074 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.6468, allocations: 0 / 0.7074 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6468, allocations: 0.9375 kB / 0.7074 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6469, allocations: 1.281 kB / 0.7074 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.647, allocations: 89.58 kB / 0.7075 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.6471, allocations: 80.5 kB / 0.7075 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.6471, allocations: 1.406 kB / 0.7075 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.6471, allocations: 2.062 kB / 0.7075 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.6472, allocations: 2.969 kB / 0.7075 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.6472, allocations: 2 kB / 0.7076 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.6472, allocations: 82.83 kB / 0.7076 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6472, allocations: 0 / 0.7076 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001925/0.6474, allocations: 19.38 kB / 0.7076 GB, free: 3.082 MB / 0.5294 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0004831/0.6479, allocations: 0.6207 MB / 0.7083 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.6481, allocations: 21.19 kB / 0.7083 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6481, allocations: 0 / 0.7083 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.6481, allocations: 20.53 kB / 0.7083 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.6484, allocations: 6.141 kB / 0.7083 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.6488, allocations: 174.2 kB / 0.7085 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.6491, allocations: 0.6785 MB / 0.7091 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.6491, allocations: 7.375 kB / 0.7091 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.6491, allocations: 9.531 kB / 0.7091 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.6492, allocations: 3.938 kB / 0.7091 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.6603, allocations: 1.128 MB / 0.7103 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.6605, allocations: 203.3 kB / 0.7104 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.372, allocations: 0 / 0.7104 GB, free: 1.246 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: