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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5719/0.5719, allocations: 90.92 MB / 99.35 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 90.47 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.83e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1721, allocations: 72.32 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.561/0.7332, allocations: 128 MB / 0.6786 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.7335, allocations: 74.2 kB / 0.6787 GB, free: 13.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005402/0.7389, allocations: 2.178 MB / 0.6808 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7389, allocations: 0 / 0.6808 GB, free: 12.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.739, allocations: 0 / 0.6808 GB, free: 12.06 MB / 490.7 MB 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.0004476/0.7394, allocations: 386.8 kB / 0.6812 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.7395, allocations: 8.031 kB / 0.6812 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.7395, allocations: 7.906 kB / 0.6812 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.7397, allocations: 163.1 kB / 0.6813 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.7397, allocations: 0 / 0.6813 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.7397, allocations: 4 kB / 0.6813 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.174e-05/0.7398, allocations: 19.38 kB / 0.6814 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.7399, allocations: 50.56 kB / 0.6814 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.7399, allocations: 0 / 0.6814 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7399, allocations: 0 / 0.6814 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.74, allocations: 7.984 kB / 0.6814 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.7403, allocations: 259.2 kB / 0.6817 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.7404, allocations: 33.84 kB / 0.6817 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.7405, allocations: 16.42 kB / 0.6817 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.7406, allocations: 95.92 kB / 0.6818 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.7407, allocations: 30.56 kB / 0.6818 GB, free: 10.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.7407, allocations: 0 / 0.6818 GB, free: 10.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002319/0.7409, allocations: 56.81 kB / 0.6819 GB, free: 10.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.741, allocations: 51.41 kB / 0.6819 GB, free: 10.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.7411, allocations: 105.3 kB / 0.682 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.7411, allocations: 25.7 kB / 0.6821 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.7411, allocations: 95.61 kB / 0.6821 GB, free: 10.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.7412, allocations: 11.89 kB / 0.6822 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.7412, allocations: 0 / 0.6822 GB, free: 10.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7413, allocations: 318.3 kB / 0.6825 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.7413, allocations: 7.688 kB / 0.6825 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.7414, allocations: 7.625 kB / 0.6825 GB, free: 10.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.7414, allocations: 11.98 kB / 0.6825 GB, free: 10.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7414, allocations: 0 / 0.6825 GB, free: 10.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001045/0.7415, allocations: 60.7 kB / 0.6825 GB, free: 10.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7416, allocations: 5.25 kB / 0.6825 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7416, allocations: 4 kB / 0.6825 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7416, allocations: 0 / 0.6825 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.7417, allocations: 19.98 kB / 0.6826 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.7418, allocations: 0 / 0.6826 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.7418, allocations: 19.55 kB / 0.6826 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.7419, allocations: 3.984 kB / 0.6826 GB, free: 10.08 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.7419, allocations: 112.7 kB / 0.6827 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000128/0.7421, allocations: 64.97 kB / 0.6828 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.7421, allocations: 0 / 0.6828 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.7423, allocations: 72.17 kB / 0.6828 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7423, allocations: 0 / 0.6828 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7423, allocations: 4 kB / 0.6828 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7423, allocations: 0 / 0.6828 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.7424, allocations: 145 kB / 0.683 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7425, allocations: 0 / 0.683 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.7426, allocations: 27.97 kB / 0.683 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7426, allocations: 3.953 kB / 0.683 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.7426, allocations: 0 / 0.683 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7426, allocations: 0 / 0.683 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7426, allocations: 0 / 0.683 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.7428, allocations: 146.4 kB / 0.6831 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.7428, allocations: 89.02 kB / 0.6832 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.7428, allocations: 3.953 kB / 0.6832 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.743, allocations: 15.98 kB / 0.6832 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.743, allocations: 7.609 kB / 0.6833 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.743, allocations: 4 kB / 0.6833 GB, free: 9.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.7431, allocations: 87.34 kB / 0.6833 GB, free: 9.258 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7431, allocations: 0 / 0.6833 GB, free: 9.258 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000222/0.7433, allocations: 23.92 kB / 0.6834 GB, free: 9.234 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005093/0.7438, allocations: 0.7108 MB / 0.6841 GB, free: 8.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.793e-05/0.7439, allocations: 27.44 kB / 0.6841 GB, free: 8.484 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7439, allocations: 0 / 0.6841 GB, free: 8.484 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.744, allocations: 11.19 kB / 0.6841 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.7442, allocations: 18.75 kB / 0.6841 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.7445, allocations: 113.1 kB / 0.6842 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.7448, allocations: 0.6846 MB / 0.6849 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.7448, allocations: 0.7031 kB / 0.6849 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.7449, allocations: 19.36 kB / 0.6849 GB, free: 7.59 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7449, allocations: 4 kB / 0.6849 GB, free: 7.586 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.767, allocations: 1.536 MB / 0.6864 GB, free: 6.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.7673, allocations: 138.1 kB / 0.6865 GB, free: 5.879 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/2.262, allocations: 4 kB / 0.6865 GB, free: 5.875 MB / 490.7 MB (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/linux/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)