Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_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.0009522/0.0009522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000969/0.0009691, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9601/0.9601, allocations: 135.1 MB / 425.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 65.22 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.15, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002958/0.153, allocations: 1.478 MB / 0.5859 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3883/0.5413, allocations: 132.1 MB / 0.7149 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.5414, allocations: 4 kB / 0.7149 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.5414, allocations: 5.203 kB / 0.7149 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.5415, allocations: 14.72 kB / 0.7149 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.5418, allocations: 63.19 kB / 0.715 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.5419, allocations: 55.42 kB / 0.715 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.542, allocations: 17.53 kB / 0.715 GB, free: 12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.542, allocations: 18.77 kB / 0.7151 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.5421, allocations: 32.92 kB / 0.7151 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.5421, allocations: 4.281 kB / 0.7151 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.5422, allocations: 13.47 kB / 0.7151 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.5422, allocations: 12.23 kB / 0.7151 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.5422, allocations: 20.67 kB / 0.7151 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.5424, allocations: 59.61 kB / 0.7152 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5424, allocations: 0 / 0.7152 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5424, allocations: 0 / 0.7152 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.5424, allocations: 1.188 kB / 0.7152 GB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004466/0.5428, allocations: 383.9 kB / 0.7156 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.5429, allocations: 9.656 kB / 0.7156 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.5429, allocations: 35.47 kB / 0.7156 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.5429, allocations: 4.234 kB / 0.7156 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.543, allocations: 172.4 kB / 0.7158 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.5431, allocations: 5.656 kB / 0.7158 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.5431, allocations: 7.172 kB / 0.7158 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.5433, allocations: 75.72 kB / 0.7159 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5433, allocations: 3.938 kB / 0.7159 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.5433, allocations: 1.469 kB / 0.7159 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.5433, allocations: 0.8438 kB / 0.7159 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.5436, allocations: 69.05 kB / 0.7159 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.5439, allocations: 292.4 kB / 0.7162 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.5441, allocations: 55.55 kB / 0.7163 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.5443, allocations: 37.48 kB / 0.7163 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.5444, allocations: 92.86 kB / 0.7164 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5445, allocations: 31.27 kB / 0.7164 GB, free: 10.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 3.466e-06/0.5445, allocations: 1.25 kB / 0.7164 GB, free: 10.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000533/0.545, allocations: 133.5 kB / 0.7165 GB, free: 10.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.5451, allocations: 55.41 kB / 0.7166 GB, free: 10.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.5452, allocations: 117.2 kB / 0.7167 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5452, allocations: 26.45 kB / 0.7167 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.5452, allocations: 88.69 kB / 0.7168 GB, free: 10.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.5453, allocations: 9.75 kB / 0.7168 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.5453, allocations: 13.8 kB / 0.7168 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.5454, allocations: 326 kB / 0.7172 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.5455, allocations: 34.8 kB / 0.7172 GB, free: 10.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.5457, allocations: 34 kB / 0.7172 GB, free: 10.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.546, allocations: 71.55 kB / 0.7173 GB, free: 10.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.546, allocations: 1.469 kB / 0.7173 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.5463, allocations: 102.1 kB / 0.7174 GB, free: 10 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5463, allocations: 5.656 kB / 0.7174 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5463, allocations: 0.7031 kB / 0.7174 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5463, allocations: 1.406 kB / 0.7174 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.5464, allocations: 15.77 kB / 0.7174 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.5465, allocations: 0 / 0.7174 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.5465, allocations: 19.69 kB / 0.7174 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5466, allocations: 1.625 kB / 0.7174 GB, free: 9.996 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 8.542e-05/0.5466, allocations: 116.2 kB / 0.7175 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.5467, allocations: 3.922 kB / 0.7175 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.547, allocations: 113.5 kB / 0.7177 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.547, allocations: 4.375 kB / 0.7177 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5471, allocations: 1.031 kB / 0.7177 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5471, allocations: 1.312 kB / 0.7177 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.5472, allocations: 177 kB / 0.7178 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5472, allocations: 1.766 kB / 0.7178 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.5473, allocations: 18.36 kB / 0.7178 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5473, allocations: 1.859 kB / 0.7178 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.5474, allocations: 3.312 kB / 0.7179 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5474, allocations: 1.031 kB / 0.7179 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5474, allocations: 0 / 0.7179 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.5477, allocations: 203.4 kB / 0.718 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5478, allocations: 83.28 kB / 0.7181 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.5478, allocations: 1.438 kB / 0.7181 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5479, allocations: 11.59 kB / 0.7181 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.548, allocations: 7.922 kB / 0.7181 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.548, allocations: 1.156 kB / 0.7181 GB, free: 9.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.548, allocations: 100.1 kB / 0.7182 GB, free: 9.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.548, allocations: 3.938 kB / 0.7182 GB, free: 9.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002159/0.5483, allocations: 12.27 kB / 0.7183 GB, free: 9.266 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.0007274/0.549, allocations: 0.738 MB / 0.719 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.5493, allocations: 72.69 kB / 0.719 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5493, allocations: 0 / 0.719 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.5495, allocations: 38.02 kB / 0.7191 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.5498, allocations: 11.09 kB / 0.7191 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.5515, allocations: 1.419 MB / 0.7205 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.5517, allocations: 0.6837 MB / 0.7211 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.5518, allocations: 8.328 kB / 0.7212 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.5518, allocations: 19.58 kB / 0.7212 GB, free: 6.621 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5518, allocations: 0 / 0.7212 GB, free: 6.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/0.9385, allocations: 2.034 MB / 0.7232 GB, free: 6.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.86, allocations: 5.391 kB / 0.7232 GB, free: 6.242 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)