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.001868/0.001868, allocations: 103.7 kB / 15.98 MB, free: 6.344 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.001557/0.001557, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 115.3 MB / 406.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 68.12 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4018, allocations: 76.18 MB / 0.556 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002398/0.4043, allocations: 1.329 MB / 0.5573 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1316/0.5359, allocations: 130.1 MB / 0.6843 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.5359, allocations: 0 / 0.6843 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.536, allocations: 0 / 0.6843 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.5361, allocations: 11.91 kB / 0.6843 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.5364, allocations: 51.8 kB / 0.6844 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.5365, allocations: 15.94 kB / 0.6844 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.5365, allocations: 4 kB / 0.6844 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.5366, allocations: 19.86 kB / 0.6844 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.5366, allocations: 7.984 kB / 0.6844 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.5367, allocations: 0 / 0.6844 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.5367, allocations: 15.98 kB / 0.6845 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.5368, allocations: 0 / 0.6845 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.5368, allocations: 7.938 kB / 0.6845 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.5369, allocations: 30.17 kB / 0.6845 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5369, allocations: 4 kB / 0.6845 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5369, allocations: 4 kB / 0.6845 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5369, allocations: 0 / 0.6845 GB, free: 0.6797 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.0003568/0.5373, allocations: 339.4 kB / 0.6848 GB, free: 304 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5373, allocations: 8.031 kB / 0.6848 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.5374, allocations: 30.75 kB / 0.6849 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.5374, allocations: 8.844 kB / 0.6849 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5376, allocations: 160.4 kB / 0.685 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.5376, allocations: 38.2 kB / 0.6851 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.5377, allocations: 4.375 kB / 0.6851 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.5378, allocations: 38.06 kB / 0.6851 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5378, allocations: 4 kB / 0.6851 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.5378, allocations: 0 / 0.6851 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5379, allocations: 3.984 kB / 0.6851 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.748e-05/0.538, allocations: 11.94 kB / 0.6851 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.5381, allocations: 153.7 kB / 0.6853 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/0.5382, allocations: 38.55 kB / 0.6853 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.5383, allocations: 8.859 kB / 0.6853 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.5385, allocations: 89.19 kB / 0.6854 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.5385, allocations: 42.5 kB / 0.6854 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5385, allocations: 0 / 0.6854 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002627/0.5388, allocations: 53.67 kB / 0.6855 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5388, allocations: 55.41 kB / 0.6855 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.5389, allocations: 102 kB / 0.6856 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5389, allocations: 29.7 kB / 0.6857 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.539, allocations: 80.14 kB / 0.6857 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.539, allocations: 15.83 kB / 0.6858 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.539, allocations: 13.62 kB / 0.6858 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5392, allocations: 322.8 kB / 0.6861 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.5392, allocations: 11.98 kB / 0.6861 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/0.5393, allocations: 11.94 kB / 0.6861 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.5394, allocations: 20.84 kB / 0.6861 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5394, allocations: 4 kB / 0.6861 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.5395, allocations: 45.69 kB / 0.6862 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5395, allocations: 7.938 kB / 0.6862 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5395, allocations: 0 / 0.6862 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5396, allocations: 7.984 kB / 0.6862 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.5396, allocations: 8 kB / 0.6862 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5396, allocations: 3.938 kB / 0.6862 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.5397, allocations: 0 / 0.6862 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.5397, allocations: 7.984 kB / 0.6862 GB, free: 14.68 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 6.465e-05/0.5398, allocations: 109.8 kB / 0.6863 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.5398, allocations: 3.938 kB / 0.6863 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.5399, allocations: 57.17 kB / 0.6864 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5399, allocations: 0 / 0.6864 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.54, allocations: 7.938 kB / 0.6864 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.54, allocations: 0 / 0.6864 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.911e-05/0.5401, allocations: 153.7 kB / 0.6865 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5401, allocations: 0 / 0.6865 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.5401, allocations: 7.984 kB / 0.6865 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5401, allocations: 3.938 kB / 0.6865 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5401, allocations: 4 kB / 0.6865 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5402, allocations: 3.938 kB / 0.6865 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5402, allocations: 0 / 0.6865 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.5403, allocations: 77.12 kB / 0.6866 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.5404, allocations: 88.94 kB / 0.6867 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5404, allocations: 0 / 0.6867 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.5404, allocations: 4 kB / 0.6867 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.5404, allocations: 0 / 0.6867 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.5405, allocations: 0 / 0.6867 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.5405, allocations: 87.69 kB / 0.6868 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5405, allocations: 0 / 0.6868 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001898/0.5407, allocations: 12 kB / 0.6868 GB, free: 13.96 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.0004015/0.5411, allocations: 0.6204 MB / 0.6874 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.5412, allocations: 27.95 kB / 0.6874 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5413, allocations: 3.938 kB / 0.6874 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.5413, allocations: 15.94 kB / 0.6874 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.5415, allocations: 11.98 kB / 0.6875 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.5419, allocations: 159.6 kB / 0.6876 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.5421, allocations: 0.6768 MB / 0.6883 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.055e-05/0.5422, allocations: 8 kB / 0.6883 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.5422, allocations: 7.438 kB / 0.6883 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.5422, allocations: 0 / 0.6883 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/0.7523, allocations: 1.233 MB / 0.6895 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.7526, allocations: 233.5 kB / 0.6897 GB, free: 11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.404, allocations: 0 / 0.6897 GB, free: 11 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)