Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001071/0.001071, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001114/0.001114, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7925/0.7925, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 67.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4097, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003335/0.4131, allocations: 1.488 MB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1595/0.5726, allocations: 132.1 MB / 0.6977 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.5727, allocations: 0 / 0.6977 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.993e-05/0.5728, allocations: 3.938 kB / 0.6977 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.573, allocations: 11.81 kB / 0.6977 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.5735, allocations: 61.97 kB / 0.6978 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.5737, allocations: 59.78 kB / 0.6979 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.5738, allocations: 19.98 kB / 0.6979 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.739e-05/0.5739, allocations: 19.92 kB / 0.6979 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.574, allocations: 23.91 kB / 0.6979 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.574, allocations: 8 kB / 0.6979 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.5741, allocations: 12 kB / 0.6979 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.5742, allocations: 15.92 kB / 0.6979 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.5742, allocations: 19.88 kB / 0.698 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.5744, allocations: 59.8 kB / 0.698 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5744, allocations: 0 / 0.698 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5744, allocations: 0 / 0.698 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5744, allocations: 4 kB / 0.698 GB, free: 4.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000616/0.575, allocations: 375.3 kB / 0.6984 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5751, allocations: 8.031 kB / 0.6984 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.5752, allocations: 34.75 kB / 0.6984 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.5752, allocations: 4.938 kB / 0.6984 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.5754, allocations: 180.2 kB / 0.6986 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5754, allocations: 4.312 kB / 0.6986 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.5754, allocations: 8.375 kB / 0.6986 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.5757, allocations: 70.22 kB / 0.6987 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5757, allocations: 3.938 kB / 0.6987 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.5757, allocations: 4 kB / 0.6987 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5757, allocations: 0 / 0.6987 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.576, allocations: 67.92 kB / 0.6988 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.5765, allocations: 292.6 kB / 0.699 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.5767, allocations: 58.53 kB / 0.6991 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5769, allocations: 40.92 kB / 0.6991 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.5771, allocations: 89.09 kB / 0.6992 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.5772, allocations: 30.56 kB / 0.6992 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.454e-06/0.5772, allocations: 0 / 0.6992 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0006368/0.5778, allocations: 141.4 kB / 0.6994 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.5779, allocations: 51.41 kB / 0.6994 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.5781, allocations: 113.8 kB / 0.6995 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5781, allocations: 29.7 kB / 0.6996 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.5782, allocations: 92.12 kB / 0.6997 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.5782, allocations: 3.906 kB / 0.6997 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.5783, allocations: 13.72 kB / 0.6997 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.5785, allocations: 322.8 kB / 0.7 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5786, allocations: 35.95 kB / 0.7 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.5788, allocations: 27.97 kB / 0.7 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.5791, allocations: 72.78 kB / 0.7001 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5791, allocations: 0 / 0.7001 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003539/0.5794, allocations: 101.5 kB / 0.7002 GB, free: 2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5795, allocations: 4 kB / 0.7002 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5795, allocations: 3.984 kB / 0.7002 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5795, allocations: 0 / 0.7002 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5797, allocations: 15.98 kB / 0.7002 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5797, allocations: 4 kB / 0.7002 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.5798, allocations: 20.25 kB / 0.7002 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5798, allocations: 0 / 0.7002 GB, free: 1.953 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 0.0001363/0.5799, allocations: 117.8 kB / 0.7004 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.58, allocations: 0 / 0.7004 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.5804, allocations: 121.4 kB / 0.7005 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5804, allocations: 4 kB / 0.7005 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5804, allocations: 0 / 0.7005 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5804, allocations: 0 / 0.7005 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.5806, allocations: 173.5 kB / 0.7006 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5807, allocations: 3.938 kB / 0.7007 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5808, allocations: 19.97 kB / 0.7007 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5808, allocations: 3.938 kB / 0.7007 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5808, allocations: 0 / 0.7007 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5808, allocations: 4 kB / 0.7007 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5808, allocations: 0 / 0.7007 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.5812, allocations: 195.4 kB / 0.7009 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.5814, allocations: 85 kB / 0.7009 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5814, allocations: 0 / 0.7009 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5816, allocations: 19.92 kB / 0.701 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.5816, allocations: 4 kB / 0.701 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.5816, allocations: 4 kB / 0.701 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.406e-05/0.5817, allocations: 91.27 kB / 0.7011 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5817, allocations: 0 / 0.7011 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000258/0.582, allocations: 12 kB / 0.7011 GB, free: 1.008 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.0008014/0.5828, allocations: 0.7397 MB / 0.7018 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.5832, allocations: 75.86 kB / 0.7019 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5832, allocations: 0 / 0.7019 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5833, allocations: 35.95 kB / 0.7019 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.5837, allocations: 12 kB / 0.7019 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.5857, allocations: 1.412 MB / 0.7033 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.5861, allocations: 0.6885 MB / 0.704 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.5861, allocations: 3.984 kB / 0.704 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.5862, allocations: 15.44 kB / 0.704 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.5862, allocations: 0 / 0.704 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.6077, allocations: 2.039 MB / 0.706 GB, free: 11.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.128, allocations: 8.078 kB / 0.706 GB, free: 11.97 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)