Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001605/0.001605, allocations: 102.8 kB / 16.4 MB, free: 6.5 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.001846/0.001846, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.27 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 76.19 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002382/0.1678, allocations: 1.258 MB / 0.6328 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1694, allocations: 0.8695 MB / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.1695, allocations: 0 / 0.6337 GB, free: 2.777 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.1695, allocations: 3.938 kB / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.1696, allocations: 0 / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.1703, allocations: 193.3 kB / 0.6339 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.1704, allocations: 19.91 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.1705, allocations: 4 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.1705, allocations: 12 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.1706, allocations: 15.86 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1706, allocations: 0 / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.1712, allocations: 235.7 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.1712, allocations: 3.984 kB / 0.6341 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.1712, allocations: 11.94 kB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1716, allocations: 147.8 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1716, allocations: 0 / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1716, allocations: 0 / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1716, allocations: 3.938 kB / 0.6343 GB, free: 2.145 MB / 478.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.0005236/0.1721, allocations: 364.3 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1722, allocations: 8.031 kB / 0.6346 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1722, allocations: 34.75 kB / 0.6347 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.1725, allocations: 12.83 kB / 0.6347 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1726, allocations: 164.4 kB / 0.6348 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1726, allocations: 384 / 0.6348 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.1726, allocations: 3.938 kB / 0.6349 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1728, allocations: 49.61 kB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1728, allocations: 0 / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1728, allocations: 4 kB / 0.6349 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1728, allocations: 0 / 0.6349 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.1729, allocations: 19.98 kB / 0.6349 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.1731, allocations: 153.7 kB / 0.6351 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.1741, allocations: 138.5 kB / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1741, allocations: 16.86 kB / 0.6352 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1743, allocations: 89.08 kB / 0.6353 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1743, allocations: 34.5 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1743, allocations: 0 / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002039/0.1745, allocations: 65.67 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1746, allocations: 55.41 kB / 0.6355 GB, free: 0.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.1747, allocations: 93.86 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1747, allocations: 25.7 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.1747, allocations: 80.14 kB / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.1748, allocations: 23.73 kB / 0.6357 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1749, allocations: 9.719 kB / 0.6357 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.175, allocations: 318.8 kB / 0.636 GB, free: 180 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.175, allocations: 7.984 kB / 0.636 GB, free: 172 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.1751, allocations: 11.94 kB / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.1751, allocations: 28.98 kB / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1751, allocations: 0 / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.427e-05/0.1752, allocations: 61.56 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1753, allocations: 4 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1753, allocations: 0 / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1753, allocations: 0 / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.1753, allocations: 11.98 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1754, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.1754, allocations: 0 / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1755, allocations: 4 kB / 0.6361 GB, free: 40 kB / 478.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 9.502e-05/0.1756, allocations: 117.7 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.1756, allocations: 0 / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.1758, allocations: 85.11 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1758, allocations: 0 / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1758, allocations: 7.984 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.1759, allocations: 0 / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.176, allocations: 165.5 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.176, allocations: 0 / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.176, allocations: 8 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1761, allocations: 4 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1761, allocations: 0 / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1761, allocations: 0 / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1761, allocations: 3.938 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1762, allocations: 89.06 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1763, allocations: 85.09 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1763, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.1764, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.1764, allocations: 4 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1764, allocations: 4 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.1764, allocations: 75.28 kB / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1764, allocations: 0 / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1767, allocations: 47.98 kB / 0.6368 GB, free: 15.25 MB / 494.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 (5): * Single equations (assignments): 5 * 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.0006286/0.1773, allocations: 0.6925 MB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1775, allocations: 39.91 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1775, allocations: 4 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.1775, allocations: 19.94 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.1777, allocations: 15.86 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.1783, allocations: 168.3 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1787, allocations: 0.6729 MB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.1788, allocations: 11.98 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.1788, allocations: 15.44 kB / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1788, allocations: 0 / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.1996, allocations: 1.98 MB / 0.6403 GB, free: 11.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.787, allocations: 11.19 kB / 0.6403 GB, free: 11.65 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)