Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.008972/0.008972, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.002027/0.002027, allocations: 194.5 kB / 16.79 MB, free: 6.246 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6825/0.6825, allocations: 115.3 MB / 405.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 493 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 76.16 MB / 0.5558 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002223/0.3362, allocations: 1.328 MB / 0.5571 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1178/0.454, allocations: 129.9 MB / 0.684 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.454, allocations: 0 / 0.684 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.4541, allocations: 0 / 0.684 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.4541, allocations: 7.922 kB / 0.684 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.4544, allocations: 47.8 kB / 0.684 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.4544, allocations: 23.92 kB / 0.684 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.404e-05/0.4545, allocations: 3.938 kB / 0.684 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.4545, allocations: 7.828 kB / 0.6841 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.4545, allocations: 15.98 kB / 0.6841 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.4546, allocations: 4 kB / 0.6841 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.4546, allocations: 8 kB / 0.6841 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.4546, allocations: 11.92 kB / 0.6841 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.4547, allocations: 7.984 kB / 0.6841 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.689e-05/0.4547, allocations: 26.17 kB / 0.6841 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4548, allocations: 4 kB / 0.6841 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.11e-07/0.4548, allocations: 0 / 0.6841 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.4548, allocations: 0 / 0.6841 GB, free: 0.9062 MB / 0.5137 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.0002836/0.4551, allocations: 331.5 kB / 0.6844 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4551, allocations: 19.97 kB / 0.6845 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.4551, allocations: 34.75 kB / 0.6845 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.4552, allocations: 4.844 kB / 0.6845 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.914e-05/0.4552, allocations: 164.4 kB / 0.6847 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.4553, allocations: 34.2 kB / 0.6847 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.4553, allocations: 4.312 kB / 0.6847 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.4554, allocations: 46 kB / 0.6847 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-06/0.4554, allocations: 0 / 0.6847 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.4554, allocations: 0 / 0.6847 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.4554, allocations: 0 / 0.6847 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.4555, allocations: 15.98 kB / 0.6848 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.4557, allocations: 153.7 kB / 0.6849 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.4558, allocations: 30.52 kB / 0.6849 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.4558, allocations: 20.94 kB / 0.6849 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.456, allocations: 89.09 kB / 0.685 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.456, allocations: 38.5 kB / 0.6851 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.456, allocations: 0 / 0.6851 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001877/0.4562, allocations: 53.62 kB / 0.6851 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.4562, allocations: 59.39 kB / 0.6852 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.4563, allocations: 97.86 kB / 0.6853 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.4563, allocations: 25.7 kB / 0.6853 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.4563, allocations: 80.14 kB / 0.6854 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.4563, allocations: 11.84 kB / 0.6854 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.4564, allocations: 29.55 kB / 0.6854 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.4565, allocations: 310.8 kB / 0.6857 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.4565, allocations: 4 kB / 0.6857 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.4566, allocations: 11.98 kB / 0.6857 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.4566, allocations: 25.31 kB / 0.6857 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4567, allocations: 0 / 0.6857 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001103/0.4568, allocations: 49.73 kB / 0.6858 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4568, allocations: 11.94 kB / 0.6858 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4568, allocations: 3.984 kB / 0.6858 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.4568, allocations: 0 / 0.6858 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.4569, allocations: 7.938 kB / 0.6858 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.4569, allocations: 0 / 0.6858 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.4569, allocations: 7.984 kB / 0.6858 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.4569, allocations: 0 / 0.6858 GB, free: 14.91 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 5.425e-05/0.457, allocations: 110.7 kB / 0.6859 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.457, allocations: 7.938 kB / 0.6859 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.4571, allocations: 57.17 kB / 0.686 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4571, allocations: 0 / 0.686 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4572, allocations: 0 / 0.686 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4572, allocations: 4 kB / 0.686 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.063e-05/0.4572, allocations: 153.7 kB / 0.6861 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4573, allocations: 4 kB / 0.6861 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.4573, allocations: 4 kB / 0.6861 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.4573, allocations: 7.938 kB / 0.6862 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.4573, allocations: 7.875 kB / 0.6862 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4573, allocations: 4 kB / 0.6862 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4573, allocations: 0 / 0.6862 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.4575, allocations: 73.11 kB / 0.6862 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.4575, allocations: 92.95 kB / 0.6863 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.4575, allocations: 0 / 0.6863 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.4576, allocations: 7.922 kB / 0.6863 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.4576, allocations: 4 kB / 0.6863 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.4576, allocations: 4 kB / 0.6863 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.4576, allocations: 75.28 kB / 0.6864 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4576, allocations: 0 / 0.6864 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001729/0.4578, allocations: 12 kB / 0.6864 GB, free: 14.19 MB / 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.0003616/0.4582, allocations: 0.6268 MB / 0.687 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.4583, allocations: 19.98 kB / 0.6871 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.4583, allocations: 0 / 0.6871 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.4584, allocations: 15.92 kB / 0.6871 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.4586, allocations: 8 kB / 0.6871 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.4589, allocations: 159.4 kB / 0.6872 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.459, allocations: 0.677 MB / 0.6879 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.4591, allocations: 4.453 kB / 0.6879 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.4591, allocations: 11.44 kB / 0.6879 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.4591, allocations: 4 kB / 0.6879 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3073/0.7664, allocations: 1.197 MB / 0.6891 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.7667, allocations: 212.8 kB / 0.6893 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.828, allocations: 3.938 kB / 0.6893 GB, free: 11.25 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)