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.001303/0.001308, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001099/0.001099, allocations: 188.1 kB / 16.25 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7279/0.7279, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.47 kB / 0.5014 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1347, allocations: 80.2 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002109/0.1369, allocations: 1.336 MB / 0.581 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3672/0.5041, allocations: 130.1 MB / 0.708 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.5042, allocations: 1.312 kB / 0.708 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.5042, allocations: 0 / 0.708 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.5043, allocations: 9.25 kB / 0.708 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.5046, allocations: 51.95 kB / 0.708 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.5047, allocations: 21.86 kB / 0.7081 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.5048, allocations: 1.312 kB / 0.7081 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.5048, allocations: 13.66 kB / 0.7081 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.5049, allocations: 6.344 kB / 0.7081 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.5049, allocations: 1.5 kB / 0.7081 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/0.5049, allocations: 12.17 kB / 0.7081 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.505, allocations: 2.578 kB / 0.7081 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.505, allocations: 12.36 kB / 0.7081 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.185e-05/0.5051, allocations: 32.97 kB / 0.7081 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5051, allocations: 0.6562 kB / 0.7081 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.31e-07/0.5051, allocations: 0 / 0.7081 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5051, allocations: 0 / 0.7081 GB, free: 2.445 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.0003572/0.5055, allocations: 335.5 kB / 0.7085 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5055, allocations: 10.12 kB / 0.7085 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.5055, allocations: 33.02 kB / 0.7085 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.5056, allocations: 2.312 kB / 0.7085 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.5057, allocations: 170.8 kB / 0.7087 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.5057, allocations: 34.44 kB / 0.7087 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.5058, allocations: 1.344 kB / 0.7087 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5059, allocations: 43.62 kB / 0.7088 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5059, allocations: 0 / 0.7088 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.5059, allocations: 1.125 kB / 0.7088 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5059, allocations: 2.625 kB / 0.7088 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.506, allocations: 14.94 kB / 0.7088 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.5062, allocations: 157.5 kB / 0.7089 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.5063, allocations: 38.61 kB / 0.709 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.5063, allocations: 12.52 kB / 0.709 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.5065, allocations: 88.17 kB / 0.7091 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.5065, allocations: 40.38 kB / 0.7091 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5065, allocations: 4.969 kB / 0.7091 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002178/0.5068, allocations: 56.94 kB / 0.7091 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5068, allocations: 53.45 kB / 0.7092 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.5069, allocations: 95.05 kB / 0.7093 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.5069, allocations: 34.34 kB / 0.7093 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.5069, allocations: 80.14 kB / 0.7094 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.5069, allocations: 11.09 kB / 0.7094 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.507, allocations: 13.95 kB / 0.7094 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.5071, allocations: 319.5 kB / 0.7097 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.5071, allocations: 6.469 kB / 0.7097 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.5072, allocations: 6.25 kB / 0.7097 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.5073, allocations: 23.34 kB / 0.7098 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5073, allocations: 0 / 0.7098 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/0.5074, allocations: 52.34 kB / 0.7098 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5074, allocations: 9.375 kB / 0.7098 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.5074, allocations: 4.703 kB / 0.7098 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5074, allocations: 1.312 kB / 0.7098 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.5075, allocations: 11.8 kB / 0.7098 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5075, allocations: 1.5 kB / 0.7098 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.5076, allocations: 1.891 kB / 0.7098 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5076, allocations: 0 / 0.7098 GB, free: 0.6562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.5076, allocations: 114.5 kB / 0.71 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.5077, allocations: 9.828 kB / 0.71 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.5078, allocations: 56.89 kB / 0.71 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5078, allocations: 1.094 kB / 0.71 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5079, allocations: 1.531 kB / 0.71 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.5079, allocations: 0.7031 kB / 0.71 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.508, allocations: 151.4 kB / 0.7102 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.508, allocations: 1.406 kB / 0.7102 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.508, allocations: 10.64 kB / 0.7102 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.508, allocations: 5.25 kB / 0.7102 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.5081, allocations: 0 / 0.7102 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5081, allocations: 1.312 kB / 0.7102 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5081, allocations: 4 kB / 0.7102 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.5082, allocations: 78.98 kB / 0.7103 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.5083, allocations: 84.5 kB / 0.7103 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.5083, allocations: 5.266 kB / 0.7103 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.5083, allocations: 2.359 kB / 0.7103 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.5084, allocations: 2.609 kB / 0.7103 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.5084, allocations: 1.188 kB / 0.7104 GB, free: 116 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.5084, allocations: 86.95 kB / 0.7104 GB, free: 32 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5084, allocations: 0 / 0.7104 GB, free: 32 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001884/0.5086, allocations: 12.03 kB / 0.7104 GB, free: 32 kB / 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 (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.0004732/0.5091, allocations: 0.6216 MB / 0.7111 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.5093, allocations: 27.45 kB / 0.7111 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5093, allocations: 5.281 kB / 0.7111 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.5093, allocations: 11.25 kB / 0.7111 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.5096, allocations: 7.125 kB / 0.7111 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.51, allocations: 177.2 kB / 0.7113 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.5102, allocations: 0.6816 MB / 0.7119 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.892e-05/0.5103, allocations: 5.156 kB / 0.7119 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.5103, allocations: 8.781 kB / 0.7119 GB, free: 14.54 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5103, allocations: 1.375 kB / 0.712 GB, free: 14.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.543/2.053, allocations: 1.237 MB / 0.7132 GB, free: 14.34 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/2.054, allocations: 205.4 kB / 0.7134 GB, free: 14.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/3.873, allocations: 3.938 kB / 0.7134 GB, free: 14.09 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)