Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_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.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_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.001344/0.001344, allocations: 177.6 kB / 8.005 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.5297/0.5297, allocations: 90.91 MB / 99.34 MB, free: 2.188 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.571/1.571, allocations: 221.5 MB / 343.2 MB, free: 1.582 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.001058/0.001058, allocations: 97.64 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.129e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1469, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.6165, allocations: 102.5 MB / 0.6537 GB, free: 7.484 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.6168, allocations: 85.36 kB / 0.6538 GB, free: 7.438 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008541/0.6254, allocations: 2.702 MB / 0.6564 GB, free: 5.133 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6254, allocations: 0 / 0.6564 GB, free: 5.133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.6254, allocations: 0 / 0.6564 GB, free: 5.133 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004046/0.6259, allocations: 365 kB / 0.6568 GB, free: 4.738 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.6259, allocations: 16.02 kB / 0.6568 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.626, allocations: 7.703 kB / 0.6568 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.6261, allocations: 163.1 kB / 0.6569 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.6262, allocations: 25.7 kB / 0.657 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.6262, allocations: 4 kB / 0.657 GB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.412e-05/0.6263, allocations: 11.94 kB / 0.657 GB, free: 4.473 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.6264, allocations: 37.06 kB / 0.657 GB, free: 4.434 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.6264, allocations: 4 kB / 0.657 GB, free: 4.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.6264, allocations: 3.953 kB / 0.657 GB, free: 4.426 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6264, allocations: 0 / 0.657 GB, free: 4.426 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.6266, allocations: 137.2 kB / 0.6572 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.6268, allocations: 45.17 kB / 0.6572 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.6268, allocations: 12.61 kB / 0.6572 GB, free: 4.203 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.6271, allocations: 182.3 kB / 0.6574 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.6271, allocations: 30.56 kB / 0.6574 GB, free: 3.949 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.6272, allocations: 4 kB / 0.6574 GB, free: 3.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004958/0.6277, allocations: 95.88 kB / 0.6575 GB, free: 3.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.6277, allocations: 51.41 kB / 0.6576 GB, free: 3.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.6278, allocations: 93.03 kB / 0.6577 GB, free: 3.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6278, allocations: 29.58 kB / 0.6577 GB, free: 3.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.6279, allocations: 84.14 kB / 0.6578 GB, free: 3.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.6279, allocations: 15.75 kB / 0.6578 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.6279, allocations: 0 / 0.6578 GB, free: 3.562 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.628, allocations: 318.8 kB / 0.6581 GB, free: 3.242 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.628, allocations: 7 kB / 0.6581 GB, free: 3.238 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.6281, allocations: 7.5 kB / 0.6581 GB, free: 3.234 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.6284, allocations: 51.56 kB / 0.6581 GB, free: 3.188 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6284, allocations: 0 / 0.6581 GB, free: 3.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003763/0.6288, allocations: 99.81 kB / 0.6582 GB, free: 3.094 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6288, allocations: 9.188 kB / 0.6582 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6288, allocations: 0 / 0.6582 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6288, allocations: 0 / 0.6582 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.6289, allocations: 11.98 kB / 0.6583 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.6289, allocations: 0 / 0.6583 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.629, allocations: 0 / 0.6583 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.629, allocations: 4 kB / 0.6583 GB, free: 3.07 MB / 458.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 (4): * Single equations (assignments): 4 * 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.717e-05/0.6291, allocations: 108.9 kB / 0.6584 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003717/0.6294, allocations: 100.1 kB / 0.6585 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.6294, allocations: 0 / 0.6585 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.6299, allocations: 106.7 kB / 0.6586 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6299, allocations: 0 / 0.6586 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6299, allocations: 3.938 kB / 0.6586 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6299, allocations: 4 kB / 0.6586 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.63, allocations: 141.5 kB / 0.6587 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.63, allocations: 0 / 0.6587 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.6301, allocations: 8 kB / 0.6587 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6301, allocations: 7.984 kB / 0.6587 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.6301, allocations: 0 / 0.6587 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6301, allocations: 0 / 0.6587 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6301, allocations: 0 / 0.6587 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.6305, allocations: 126.1 kB / 0.6588 GB, free: 2.438 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.6306, allocations: 89.03 kB / 0.6589 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.6306, allocations: 0 / 0.6589 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.6307, allocations: 4 kB / 0.6589 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.6307, allocations: 4 kB / 0.6589 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.6308, allocations: 0 / 0.6589 GB, free: 2.324 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.6308, allocations: 87.17 kB / 0.659 GB, free: 2.242 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6308, allocations: 0 / 0.659 GB, free: 2.242 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.631, allocations: 35.94 kB / 0.659 GB, free: 2.207 MB / 458.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 (4): * Single equations (assignments): 4 * 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.0008231/0.6319, allocations: 0.6852 MB / 0.6597 GB, free: 1.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.632, allocations: 35.22 kB / 0.6598 GB, free: 1.473 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.632, allocations: 0 / 0.6598 GB, free: 1.473 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.632, allocations: 11.94 kB / 0.6598 GB, free: 1.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.6322, allocations: 2.938 kB / 0.6598 GB, free: 1.461 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.6325, allocations: 108.7 kB / 0.6599 GB, free: 1.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6328, allocations: 0.6788 MB / 0.6605 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.6329, allocations: 7.984 kB / 0.6605 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.6329, allocations: 11.38 kB / 0.6606 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6329, allocations: 4 kB / 0.6606 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.6528, allocations: 1.333 MB / 0.6619 GB, free: 15.27 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.6531, allocations: 149 kB / 0.662 GB, free: 15.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.199, allocations: 0 / 0.662 GB, free: 15.08 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)