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.001496/0.001496, 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.00223/0.00223, allocations: 192.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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8241/0.8241, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 68.36 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4167, allocations: 80.19 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003143/0.4198, allocations: 1.485 MB / 0.5816 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1594/0.5792, allocations: 132.1 MB / 0.7106 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.5794, allocations: 0 / 0.7106 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.5795, allocations: 7.875 kB / 0.7106 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.5796, allocations: 11.88 kB / 0.7106 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.58, allocations: 73.95 kB / 0.7107 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.5801, allocations: 51.78 kB / 0.7108 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5802, allocations: 12 kB / 0.7108 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.5803, allocations: 23.92 kB / 0.7108 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.5803, allocations: 23.91 kB / 0.7108 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.5803, allocations: 4 kB / 0.7108 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.5804, allocations: 16 kB / 0.7108 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.5805, allocations: 11.92 kB / 0.7108 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.5805, allocations: 31.8 kB / 0.7109 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.5806, allocations: 59.81 kB / 0.7109 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5807, allocations: 0 / 0.7109 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5807, allocations: 0 / 0.7109 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5807, allocations: 0 / 0.7109 GB, free: 11.18 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.0005634/0.5812, allocations: 375.3 kB / 0.7113 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5813, allocations: 8.031 kB / 0.7113 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.5813, allocations: 38.69 kB / 0.7113 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.5814, allocations: 8.844 kB / 0.7113 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.5815, allocations: 172.3 kB / 0.7115 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5815, allocations: 4.375 kB / 0.7115 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.5816, allocations: 4.375 kB / 0.7115 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.5818, allocations: 74.2 kB / 0.7116 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5819, allocations: 3.938 kB / 0.7116 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5819, allocations: 0 / 0.7116 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5819, allocations: 0 / 0.7116 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.5822, allocations: 79.8 kB / 0.7117 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.5826, allocations: 284.7 kB / 0.7119 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.5828, allocations: 62.52 kB / 0.712 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.583, allocations: 36.92 kB / 0.712 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.5832, allocations: 89.09 kB / 0.7121 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.5832, allocations: 34.5 kB / 0.7122 GB, free: 9.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.5832, allocations: 0 / 0.7122 GB, free: 9.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005635/0.5838, allocations: 137.5 kB / 0.7123 GB, free: 9.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.5839, allocations: 51.41 kB / 0.7123 GB, free: 9.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.584, allocations: 117.5 kB / 0.7124 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.584, allocations: 25.7 kB / 0.7125 GB, free: 9.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.5841, allocations: 96.12 kB / 0.7126 GB, free: 9.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.5841, allocations: 7.906 kB / 0.7126 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.5841, allocations: 13.72 kB / 0.7126 GB, free: 9.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5843, allocations: 322.8 kB / 0.7129 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5844, allocations: 31.97 kB / 0.7129 GB, free: 8.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.5846, allocations: 31.91 kB / 0.7129 GB, free: 8.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.5848, allocations: 72.78 kB / 0.713 GB, free: 8.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5849, allocations: 0 / 0.713 GB, free: 8.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.5852, allocations: 97.53 kB / 0.7131 GB, free: 8.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5852, allocations: 15.98 kB / 0.7131 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5852, allocations: 4 kB / 0.7131 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5852, allocations: 3.938 kB / 0.7131 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5854, allocations: 11.98 kB / 0.7131 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5854, allocations: 0 / 0.7131 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.5855, allocations: 15.92 kB / 0.7132 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5855, allocations: 4 kB / 0.7132 GB, free: 8.645 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.159e-05/0.5856, allocations: 117.7 kB / 0.7133 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.5856, allocations: 11.91 kB / 0.7133 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.586, allocations: 109.5 kB / 0.7134 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.586, allocations: 0 / 0.7134 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.586, allocations: 0 / 0.7134 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.586, allocations: 0 / 0.7134 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.5862, allocations: 173.5 kB / 0.7136 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5862, allocations: 3.984 kB / 0.7136 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.5863, allocations: 19.98 kB / 0.7136 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5863, allocations: 0 / 0.7136 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.5863, allocations: 0 / 0.7136 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5863, allocations: 0 / 0.7136 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5863, allocations: 0 / 0.7136 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.5867, allocations: 203.7 kB / 0.7138 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.5868, allocations: 85.02 kB / 0.7139 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.5868, allocations: 4 kB / 0.7139 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5869, allocations: 7.984 kB / 0.7139 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.5869, allocations: 12.02 kB / 0.7139 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5869, allocations: 0 / 0.7139 GB, free: 7.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.587, allocations: 87.28 kB / 0.714 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.587, allocations: 0 / 0.714 GB, free: 7.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002299/0.5872, allocations: 20 kB / 0.714 GB, free: 7.703 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.0007393/0.588, allocations: 0.7357 MB / 0.7147 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.5884, allocations: 75.92 kB / 0.7148 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5884, allocations: 0 / 0.7148 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5885, allocations: 35.95 kB / 0.7148 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.5889, allocations: 14.03 kB / 0.7148 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5907, allocations: 1.433 MB / 0.7162 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.591, allocations: 0.6845 MB / 0.7169 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.591, allocations: 3.984 kB / 0.7169 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.5911, allocations: 19.44 kB / 0.7169 GB, free: 4.57 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.5911, allocations: 0 / 0.7169 GB, free: 4.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.611, allocations: 2.012 MB / 0.7189 GB, free: 2.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.307, allocations: 7.25 kB / 0.7189 GB, free: 2.656 MB / 0.545 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)