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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005/0.005, allocations: 101.2 kB / 15.88 MB, free: 6.32 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.001313/0.001313, allocations: 195.5 kB / 16.79 MB, free: 6.246 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.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6591/0.6591, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 60.31 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 76.17 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002335/0.1458, allocations: 1.32 MB / 0.5571 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1471, allocations: 0.8577 MB / 0.558 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.1472, allocations: 0 / 0.558 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.1472, allocations: 0 / 0.558 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.1473, allocations: 3.938 kB / 0.558 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.1477, allocations: 111.6 kB / 0.5581 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.1478, allocations: 23.88 kB / 0.5581 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.1478, allocations: 3.984 kB / 0.5581 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.1479, allocations: 15.92 kB / 0.5581 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.1479, allocations: 11.98 kB / 0.5581 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1479, allocations: 0 / 0.5581 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.1482, allocations: 171.7 kB / 0.5583 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.1483, allocations: 15.88 kB / 0.5583 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.1483, allocations: 4 kB / 0.5583 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1485, allocations: 128 kB / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1485, allocations: 0 / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.1486, allocations: 0 / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.1486, allocations: 0 / 0.5584 GB, free: 8.047 MB / 430.1 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.000413/0.149, allocations: 369.4 kB / 0.5588 GB, free: 7.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.149, allocations: 15.91 kB / 0.5588 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.1491, allocations: 34.75 kB / 0.5588 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1491, allocations: 4.938 kB / 0.5588 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.929e-05/0.1492, allocations: 164.4 kB / 0.559 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.1493, allocations: 34.27 kB / 0.559 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1493, allocations: 4.375 kB / 0.559 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1494, allocations: 46 kB / 0.5591 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1494, allocations: 0 / 0.5591 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1494, allocations: 0 / 0.5591 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1494, allocations: 0 / 0.5591 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.1495, allocations: 23.92 kB / 0.5591 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.1497, allocations: 157.7 kB / 0.5593 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1499, allocations: 46.61 kB / 0.5593 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.15, allocations: 16.94 kB / 0.5593 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.1503, allocations: 178.2 kB / 0.5595 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1503, allocations: 42.5 kB / 0.5595 GB, free: 6.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1503, allocations: 0 / 0.5595 GB, free: 6.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002548/0.1506, allocations: 69.52 kB / 0.5596 GB, free: 6.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1506, allocations: 55.41 kB / 0.5596 GB, free: 6.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.1507, allocations: 101.8 kB / 0.5597 GB, free: 6.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1507, allocations: 25.7 kB / 0.5598 GB, free: 6.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.1507, allocations: 80.14 kB / 0.5598 GB, free: 6.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1507, allocations: 3.906 kB / 0.5598 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1508, allocations: 21.72 kB / 0.5599 GB, free: 6.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.1509, allocations: 310.8 kB / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.1509, allocations: 15.98 kB / 0.5602 GB, free: 5.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.151, allocations: 7.984 kB / 0.5602 GB, free: 5.988 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.1511, allocations: 29.33 kB / 0.5602 GB, free: 5.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1511, allocations: 0 / 0.5602 GB, free: 5.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.1512, allocations: 65.5 kB / 0.5603 GB, free: 5.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1512, allocations: 11.94 kB / 0.5603 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1513, allocations: 0 / 0.5603 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1513, allocations: 4 kB / 0.5603 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.1513, allocations: 4 kB / 0.5603 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1513, allocations: 0 / 0.5603 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.1514, allocations: 19.8 kB / 0.5603 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1514, allocations: 0 / 0.5603 GB, free: 5.848 MB / 430.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.1515, allocations: 109.8 kB / 0.5604 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.1515, allocations: 7.938 kB / 0.5604 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1517, allocations: 73.11 kB / 0.5605 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1517, allocations: 0 / 0.5605 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1517, allocations: 0 / 0.5605 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1517, allocations: 0 / 0.5605 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1518, allocations: 153.7 kB / 0.5606 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1518, allocations: 0 / 0.5606 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.1519, allocations: 11.98 kB / 0.5607 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1519, allocations: 3.938 kB / 0.5607 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1519, allocations: 4 kB / 0.5607 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1519, allocations: 4 kB / 0.5607 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1519, allocations: 4 kB / 0.5607 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.1521, allocations: 85.02 kB / 0.5607 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1521, allocations: 88.98 kB / 0.5608 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1521, allocations: 0 / 0.5608 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.1522, allocations: 7.984 kB / 0.5608 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1522, allocations: 0 / 0.5608 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1522, allocations: 4 kB / 0.5608 GB, free: 5.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.1523, allocations: 83.28 kB / 0.5609 GB, free: 5.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1523, allocations: 0 / 0.5609 GB, free: 5.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1525, allocations: 35.92 kB / 0.561 GB, free: 5.082 MB / 430.1 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 () * Number of clocked 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 (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.0004902/0.153, allocations: 0.6515 MB / 0.5616 GB, free: 4.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1532, allocations: 35.91 kB / 0.5616 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1532, allocations: 0 / 0.5616 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.1532, allocations: 12 kB / 0.5616 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1534, allocations: 16.86 kB / 0.5617 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.1538, allocations: 171.3 kB / 0.5618 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.154, allocations: 0.6809 MB / 0.5625 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.1541, allocations: 7.984 kB / 0.5625 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.1541, allocations: 15.44 kB / 0.5625 GB, free: 3.406 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1541, allocations: 0 / 0.5625 GB, free: 3.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3696/0.5237, allocations: 1.776 MB / 0.5642 GB, free: 1.734 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.5241, allocations: 214.4 kB / 0.5644 GB, free: 1.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.556, allocations: 0 / 0.5644 GB, free: 1.477 MB / 430.1 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/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)