Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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/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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.006797/0.006797, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001233/0.001233, allocations: 198.3 kB / 16.68 MB, free: 5.957 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.783/0.783, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001218, allocations: 62.28 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002885/0.1625, allocations: 1.478 MB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5892/0.7517, allocations: 132.1 MB / 0.7896 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.7518, allocations: 1.203 kB / 0.7896 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.335e-05/0.7519, allocations: 11.23 kB / 0.7896 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.752, allocations: 13.52 kB / 0.7896 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.7525, allocations: 68.88 kB / 0.7897 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7526, allocations: 49.06 kB / 0.7897 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7527, allocations: 17.97 kB / 0.7897 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.7528, allocations: 20.62 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.194e-05/0.7528, allocations: 26.23 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.7528, allocations: 11.75 kB / 0.7898 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.735e-05/0.753, allocations: 17.47 kB / 0.7898 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.753, allocations: 14.36 kB / 0.7898 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.753, allocations: 18.16 kB / 0.7898 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.7532, allocations: 64.05 kB / 0.7899 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7532, allocations: 0 / 0.7899 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7532, allocations: 1.219 kB / 0.7899 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7532, allocations: 0 / 0.7899 GB, free: 13.08 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000611/0.7538, allocations: 372.9 kB / 0.7903 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.7539, allocations: 13.53 kB / 0.7903 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.7539, allocations: 30.75 kB / 0.7903 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.754, allocations: 7.438 kB / 0.7903 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.7542, allocations: 174.5 kB / 0.7905 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.7542, allocations: 5.281 kB / 0.7905 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7542, allocations: 3.125 kB / 0.7905 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.7545, allocations: 71.06 kB / 0.7906 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.7545, allocations: 7.938 kB / 0.7906 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.7545, allocations: 4.594 kB / 0.7906 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7546, allocations: 1.5 kB / 0.7906 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.7549, allocations: 68.77 kB / 0.7906 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.7553, allocations: 293.4 kB / 0.7909 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.7556, allocations: 62.84 kB / 0.791 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.7557, allocations: 35.78 kB / 0.791 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.7559, allocations: 90.22 kB / 0.7911 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.756, allocations: 37.06 kB / 0.7911 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.756, allocations: 0 / 0.7911 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000557/0.7566, allocations: 132.1 kB / 0.7913 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.7566, allocations: 52.84 kB / 0.7913 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.7567, allocations: 118.7 kB / 0.7914 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.7568, allocations: 25.7 kB / 0.7914 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.7568, allocations: 95.72 kB / 0.7915 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.7569, allocations: 8.969 kB / 0.7915 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.7569, allocations: 18.88 kB / 0.7916 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7571, allocations: 315.9 kB / 0.7919 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.7572, allocations: 33.36 kB / 0.7919 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.7574, allocations: 32.47 kB / 0.7919 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.7576, allocations: 70.88 kB / 0.792 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7576, allocations: 0 / 0.792 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003246/0.758, allocations: 101.7 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.758, allocations: 7.562 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.758, allocations: 5.266 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.758, allocations: 0 / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.7582, allocations: 17.16 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7582, allocations: 3.531 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.7583, allocations: 23.2 kB / 0.7921 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.7583, allocations: 1.094 kB / 0.7921 GB, free: 11.25 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.7584, allocations: 116.7 kB / 0.7923 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.7584, allocations: 1.25 kB / 0.7923 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.7588, allocations: 111.6 kB / 0.7924 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7588, allocations: 1.031 kB / 0.7924 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7588, allocations: 0 / 0.7924 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7588, allocations: 1.281 kB / 0.7924 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.759, allocations: 176.5 kB / 0.7925 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.759, allocations: 0 / 0.7925 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.7591, allocations: 18.41 kB / 0.7926 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7591, allocations: 3.812 kB / 0.7926 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.7591, allocations: 0 / 0.7926 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7591, allocations: 1.156 kB / 0.7926 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7592, allocations: 0 / 0.7926 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.7595, allocations: 208 kB / 0.7928 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.7596, allocations: 79.95 kB / 0.7928 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.7596, allocations: 4.844 kB / 0.7928 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.7597, allocations: 11.39 kB / 0.7928 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.7597, allocations: 3.953 kB / 0.7928 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.7597, allocations: 1.094 kB / 0.7928 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.7598, allocations: 97.78 kB / 0.7929 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7598, allocations: 0 / 0.7929 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002421/0.7601, allocations: 11.78 kB / 0.793 GB, free: 10.56 MB / 0.5919 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 (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.0006989/0.7608, allocations: 0.7407 MB / 0.7937 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003432/0.7611, allocations: 70.23 kB / 0.7937 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7611, allocations: 0 / 0.7937 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.7613, allocations: 33.3 kB / 0.7938 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.7617, allocations: 17.84 kB / 0.7938 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.764, allocations: 1.43 MB / 0.7952 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.7643, allocations: 0.686 MB / 0.7959 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.7643, allocations: 4.219 kB / 0.7959 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.7644, allocations: 19.25 kB / 0.7959 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.7644, allocations: 0 / 0.7959 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.7838, allocations: 2.089 MB / 0.7979 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.468, allocations: 6.344 kB / 0.7979 GB, free: 7.594 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)