Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_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.0006791/0.0006791, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005177/0.005177, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7009/0.7009, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8.781 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4103, allocations: 81.57 MB / 0.5838 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001022/0.4114, allocations: 1.001 MB / 0.5847 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1375/0.5489, allocations: 128.5 MB / 0.7102 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.549, allocations: 0 / 0.7102 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.549, allocations: 4 kB / 0.7102 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.5491, allocations: 7.922 kB / 0.7102 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.5494, allocations: 47.8 kB / 0.7103 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.5494, allocations: 19.92 kB / 0.7103 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.5495, allocations: 4 kB / 0.7103 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.5495, allocations: 10.52 kB / 0.7103 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.5496, allocations: 11.92 kB / 0.7103 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.5496, allocations: 0 / 0.7103 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.5497, allocations: 15.94 kB / 0.7103 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.5497, allocations: 0 / 0.7103 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.5497, allocations: 37.67 kB / 0.7104 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.589e-05/0.5498, allocations: 30.17 kB / 0.7104 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5498, allocations: 0 / 0.7104 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5498, allocations: 8 kB / 0.7104 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.5499, allocations: 0 / 0.7104 GB, free: 14.27 MB / 0.545 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.0003321/0.5502, allocations: 331.5 kB / 0.7107 GB, free: 13.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5502, allocations: 8.031 kB / 0.7107 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.5503, allocations: 34.75 kB / 0.7108 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.5503, allocations: 0.9375 kB / 0.7108 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.5504, allocations: 160.4 kB / 0.7109 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.5505, allocations: 34.25 kB / 0.7109 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.5505, allocations: 384 / 0.7109 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5506, allocations: 53.94 kB / 0.711 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5506, allocations: 3.938 kB / 0.711 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5506, allocations: 3.984 kB / 0.711 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5507, allocations: 0 / 0.711 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.5507, allocations: 11.98 kB / 0.711 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.5509, allocations: 149.7 kB / 0.7112 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.551, allocations: 38.55 kB / 0.7112 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.5511, allocations: 20.94 kB / 0.7112 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.5512, allocations: 85.11 kB / 0.7113 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5512, allocations: 38.48 kB / 0.7113 GB, free: 13.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5512, allocations: 3.938 kB / 0.7113 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002167/0.5515, allocations: 53.59 kB / 0.7114 GB, free: 13.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.5515, allocations: 63.41 kB / 0.7115 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.5516, allocations: 93.84 kB / 0.7115 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5516, allocations: 29.7 kB / 0.7116 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.5516, allocations: 80.14 kB / 0.7116 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.5517, allocations: 11.84 kB / 0.7117 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.5517, allocations: 9.719 kB / 0.7117 GB, free: 12.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.5518, allocations: 314.8 kB / 0.712 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.5518, allocations: 8 kB / 0.712 GB, free: 12.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.5519, allocations: 12 kB / 0.712 GB, free: 12.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.552, allocations: 24.78 kB / 0.712 GB, free: 12.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.552, allocations: 0 / 0.712 GB, free: 12.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001113/0.5521, allocations: 53.67 kB / 0.7121 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5521, allocations: 7.938 kB / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5521, allocations: 0 / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5521, allocations: 0 / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.5522, allocations: 8 kB / 0.7121 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.5522, allocations: 4 kB / 0.7121 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.5522, allocations: 0 / 0.7121 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5522, allocations: 0 / 0.7121 GB, free: 12.29 MB / 0.545 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 6.249e-05/0.5523, allocations: 113.8 kB / 0.7122 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.5523, allocations: 3.938 kB / 0.7122 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.5525, allocations: 57.12 kB / 0.7122 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5525, allocations: 4.562 kB / 0.7123 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5525, allocations: 3.984 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5525, allocations: 4 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.5526, allocations: 157.6 kB / 0.7124 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5526, allocations: 0 / 0.7124 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.5526, allocations: 7.984 kB / 0.7124 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5527, allocations: 3.938 kB / 0.7124 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5527, allocations: 3.984 kB / 0.7124 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5527, allocations: 11.94 kB / 0.7124 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5527, allocations: 3.938 kB / 0.7124 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.5528, allocations: 77.05 kB / 0.7125 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.5529, allocations: 85.05 kB / 0.7126 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.5529, allocations: 0 / 0.7126 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.5529, allocations: 4 kB / 0.7126 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.553, allocations: 7.984 kB / 0.7126 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.553, allocations: 0 / 0.7126 GB, free: 11.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.553, allocations: 79.28 kB / 0.7127 GB, free: 11.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.553, allocations: 0 / 0.7127 GB, free: 11.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001761/0.5532, allocations: 8 kB / 0.7127 GB, free: 11.56 MB / 0.545 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.0003763/0.5536, allocations: 0.6241 MB / 0.7133 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.5537, allocations: 19.98 kB / 0.7133 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5537, allocations: 0 / 0.7133 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.5538, allocations: 12 kB / 0.7133 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.554, allocations: 17.69 kB / 0.7133 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.5543, allocations: 186 kB / 0.7135 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.5545, allocations: 0.6731 MB / 0.7142 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.5546, allocations: 4 kB / 0.7142 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.5546, allocations: 15.42 kB / 0.7142 GB, free: 9.918 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.5546, allocations: 0 / 0.7142 GB, free: 9.918 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/0.6827, allocations: 1.14 MB / 0.7153 GB, free: 8.949 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/0.6831, allocations: 202 kB / 0.7155 GB, free: 8.695 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.704, allocations: 3.938 kB / 0.7155 GB, free: 8.691 MB / 0.545 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)