Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.001871/0.001871, allocations: 180.9 kB / 8.006 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.5863/0.5863, allocations: 90.91 MB / 99.34 MB, free: 2.199 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.541/1.541, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.0009939/0.000994, allocations: 99.52 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.035e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1627, allocations: 72.3 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5436/0.7063, allocations: 102.8 MB / 0.654 GB, free: 7.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.7067, allocations: 79.95 kB / 0.6541 GB, free: 7.184 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007869/0.7145, allocations: 2.534 MB / 0.6565 GB, free: 4.988 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7146, allocations: 0 / 0.6565 GB, free: 4.988 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.7146, allocations: 0 / 0.6565 GB, free: 4.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004634/0.7151, allocations: 394.7 kB / 0.6569 GB, free: 4.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7151, allocations: 12.03 kB / 0.6569 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.7152, allocations: 11.84 kB / 0.6569 GB, free: 4.539 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.7153, allocations: 171 kB / 0.6571 GB, free: 4.332 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.7153, allocations: 4 kB / 0.6571 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.7153, allocations: 0 / 0.6571 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.218e-05/0.7154, allocations: 21.94 kB / 0.6571 GB, free: 4.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.7155, allocations: 48.81 kB / 0.6572 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7155, allocations: 0 / 0.6572 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7156, allocations: 0 / 0.6572 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7156, allocations: 7.953 kB / 0.6572 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.7159, allocations: 253.8 kB / 0.6574 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.716, allocations: 33.58 kB / 0.6575 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.716, allocations: 18.97 kB / 0.6575 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.7162, allocations: 93.19 kB / 0.6576 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7162, allocations: 34.56 kB / 0.6576 GB, free: 3.785 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7163, allocations: 0 / 0.6576 GB, free: 3.785 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003435/0.7166, allocations: 76.86 kB / 0.6577 GB, free: 3.715 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.7167, allocations: 51.41 kB / 0.6577 GB, free: 3.652 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.7167, allocations: 104.6 kB / 0.6578 GB, free: 3.547 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.7168, allocations: 25.7 kB / 0.6578 GB, free: 3.516 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.7168, allocations: 95.47 kB / 0.6579 GB, free: 3.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7168, allocations: 15.22 kB / 0.6579 GB, free: 3.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.7168, allocations: 0 / 0.6579 GB, free: 3.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.717, allocations: 310.8 kB / 0.6582 GB, free: 3.098 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.717, allocations: 7.812 kB / 0.6583 GB, free: 3.094 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.717, allocations: 11.19 kB / 0.6583 GB, free: 3.086 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.7172, allocations: 39.27 kB / 0.6583 GB, free: 3.055 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7172, allocations: 0 / 0.6583 GB, free: 3.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002346/0.7174, allocations: 72.17 kB / 0.6584 GB, free: 2.984 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7175, allocations: 8.625 kB / 0.6584 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7175, allocations: 48 / 0.6584 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7175, allocations: 7.938 kB / 0.6584 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.7176, allocations: 23.55 kB / 0.6584 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7177, allocations: 0 / 0.6584 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.7178, allocations: 15.98 kB / 0.6584 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.7178, allocations: 4 kB / 0.6584 GB, free: 2.93 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 (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 6.701e-05/0.7178, allocations: 108.9 kB / 0.6585 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002416/0.7181, allocations: 83.75 kB / 0.6586 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.7181, allocations: 3.953 kB / 0.6586 GB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.7184, allocations: 88.08 kB / 0.6587 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7184, allocations: 0 / 0.6587 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7184, allocations: 0.875 kB / 0.6587 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7184, allocations: 0 / 0.6587 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.7186, allocations: 152.8 kB / 0.6588 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7186, allocations: 0 / 0.6588 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.7187, allocations: 19.98 kB / 0.6589 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7187, allocations: 0 / 0.6589 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.7187, allocations: 4 kB / 0.6589 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7187, allocations: 7.953 kB / 0.6589 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7187, allocations: 0 / 0.6589 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.719, allocations: 174.1 kB / 0.659 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.7191, allocations: 81.02 kB / 0.6591 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.7191, allocations: 0 / 0.6591 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.7192, allocations: 19.97 kB / 0.6591 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.7193, allocations: 11.2 kB / 0.6591 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.7193, allocations: 0 / 0.6591 GB, free: 2.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.7193, allocations: 99.2 kB / 0.6592 GB, free: 2.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7193, allocations: 0 / 0.6592 GB, free: 2.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.7196, allocations: 31.94 kB / 0.6593 GB, free: 2.016 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 (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.0006156/0.7202, allocations: 0.7411 MB / 0.66 GB, free: 1.258 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.914e-05/0.7203, allocations: 22.69 kB / 0.66 GB, free: 1.242 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7203, allocations: 4 kB / 0.66 GB, free: 1.238 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.7203, allocations: 11.31 kB / 0.66 GB, free: 1.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.7205, allocations: 7.391 kB / 0.66 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.7209, allocations: 129.2 kB / 0.6602 GB, free: 1.066 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7211, allocations: 0.6807 MB / 0.6608 GB, free: 368 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.7212, allocations: 4 kB / 0.6608 GB, free: 364 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.7212, allocations: 22.17 kB / 0.6609 GB, free: 348 kB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7212, allocations: 0 / 0.6609 GB, free: 348 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.7402, allocations: 1.591 MB / 0.6624 GB, free: 14.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.7405, allocations: 134 kB / 0.6625 GB, free: 14.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.295, allocations: 3.938 kB / 0.6625 GB, free: 14.57 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)