Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009165, allocations: 97.12 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 175.4 kB / 16.57 MB, free: 6.863 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: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6475/0.6475, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 12 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 77.15 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001252/0.1415, allocations: 0.9628 MB / 0.5578 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005106/0.1421, allocations: 257.6 kB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.1421, allocations: 0 / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.1421, allocations: 3.938 kB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.1422, allocations: 15.97 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1424, allocations: 43.86 kB / 0.5581 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.1425, allocations: 11.98 kB / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.1425, allocations: 3.984 kB / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.1426, allocations: 11.94 kB / 0.5581 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.1427, allocations: 7.984 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1427, allocations: 0 / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1428, allocations: 55.95 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.1428, allocations: 3.984 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1429, allocations: 33.7 kB / 0.5582 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.143, allocations: 32.19 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.143, allocations: 0 / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.143, allocations: 8 kB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.143, allocations: 0 / 0.5582 GB, free: 10.19 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.0003584/0.1433, allocations: 327.4 kB / 0.5586 GB, free: 9.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1434, allocations: 15.95 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.1436, allocations: 19.92 kB / 0.5586 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1437, allocations: 167 kB / 0.5587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1437, allocations: 0 / 0.5587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.1438, allocations: 8 kB / 0.5588 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1439, allocations: 45.64 kB / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1439, allocations: 0 / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1439, allocations: 0 / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1439, allocations: 0 / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.144, allocations: 12 kB / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.1441, allocations: 157.7 kB / 0.559 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.146, allocations: 274.4 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.146, allocations: 0 / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.146, allocations: 38.64 kB / 0.5593 GB, free: 8.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.146, allocations: 4 kB / 0.5593 GB, free: 8.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001762/0.1462, allocations: 69.48 kB / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1463, allocations: 51.41 kB / 0.5594 GB, free: 8.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.1463, allocations: 97.86 kB / 0.5595 GB, free: 8.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1463, allocations: 25.7 kB / 0.5595 GB, free: 8.711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.1464, allocations: 80.14 kB / 0.5596 GB, free: 8.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1464, allocations: 7.844 kB / 0.5596 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.1464, allocations: 0 / 0.5596 GB, free: 8.621 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1465, allocations: 327 kB / 0.5599 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.1466, allocations: 4 kB / 0.5599 GB, free: 8.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.1466, allocations: 8 kB / 0.5599 GB, free: 8.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.1466, allocations: 8 kB / 0.5599 GB, free: 8.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1466, allocations: 0 / 0.5599 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.673e-05/0.1467, allocations: 57.59 kB / 0.56 GB, free: 8.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1467, allocations: 4 kB / 0.56 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1467, allocations: 0 / 0.56 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1468, allocations: 7.953 kB / 0.56 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.1468, allocations: 7.938 kB / 0.56 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1468, allocations: 7.984 kB / 0.56 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.1469, allocations: 0 / 0.56 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1469, allocations: 11.92 kB / 0.56 GB, free: 8.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.147, allocations: 109.8 kB / 0.5601 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.147, allocations: 0 / 0.5601 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.147, allocations: 7.828 kB / 0.5601 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.147, allocations: 7.953 kB / 0.5601 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.147, allocations: 0 / 0.5601 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.147, allocations: 3.984 kB / 0.5601 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1471, allocations: 161.7 kB / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1472, allocations: 0 / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.1472, allocations: 4 kB / 0.5603 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1472, allocations: 4 kB / 0.5603 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1472, allocations: 0 / 0.5603 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1472, allocations: 3.984 kB / 0.5603 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1472, allocations: 3.953 kB / 0.5603 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1474, allocations: 81.06 kB / 0.5604 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1474, allocations: 89.05 kB / 0.5605 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1475, allocations: 4 kB / 0.5605 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.1475, allocations: 0 / 0.5605 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.1475, allocations: 3.984 kB / 0.5605 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1475, allocations: 7.953 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.1476, allocations: 75.28 kB / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1476, allocations: 0 / 0.5605 GB, free: 7.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1478, allocations: 12 kB / 0.5606 GB, free: 7.504 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 (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.0001069/0.1479, allocations: 96.03 kB / 0.5606 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.148, allocations: 27.92 kB / 0.5607 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.148, allocations: 0 / 0.5607 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.148, allocations: 12 kB / 0.5607 GB, free: 7.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.1482, allocations: 17.78 kB / 0.5607 GB, free: 7.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.1485, allocations: 140.5 kB / 0.5608 GB, free: 7.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1488, allocations: 0.677 MB / 0.5615 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.1489, allocations: 4 kB / 0.5615 GB, free: 6.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.1489, allocations: 11.44 kB / 0.5615 GB, free: 6.457 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1489, allocations: 0 / 0.5615 GB, free: 6.457 MB / 430.1 MB Notification: Performance of Templates: time 0.002169/0.1511, allocations: 476 kB / 0.562 GB, free: 6.004 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)