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.001748/0.001748, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001779/0.001778, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.617/2.617, 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 1.039/1.039, allocations: 115.3 MB / 406.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 63.3 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1725, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00249/0.1751, allocations: 1.254 MB / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1772, allocations: 0.8733 MB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.1773, allocations: 0 / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.1774, allocations: 0 / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.1775, allocations: 7.922 kB / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1786, allocations: 185 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.1787, allocations: 27.84 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.1787, allocations: 4 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.1788, allocations: 8 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.1789, allocations: 11.92 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1789, allocations: 0 / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.1794, allocations: 235.7 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1794, allocations: 7.922 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.1795, allocations: 7.938 kB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.1798, allocations: 147.8 kB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1799, allocations: 4 kB / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1799, allocations: 4 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1799, allocations: 0 / 0.6343 GB, free: 2.148 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.0005467/0.1804, allocations: 356.3 kB / 0.6346 GB, free: 1.754 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/0.1805, allocations: 12.03 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.1806, allocations: 34.75 kB / 0.6347 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.1808, allocations: 16.77 kB / 0.6347 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1809, allocations: 164.4 kB / 0.6348 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1809, allocations: 4.375 kB / 0.6348 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.181, allocations: 7.938 kB / 0.6349 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1811, allocations: 41.69 kB / 0.6349 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1812, allocations: 4 kB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1812, allocations: 0 / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1812, allocations: 0 / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.1812, allocations: 15.98 kB / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.1815, allocations: 157.7 kB / 0.6351 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.1824, allocations: 142.3 kB / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.1824, allocations: 24.91 kB / 0.6352 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1826, allocations: 85.09 kB / 0.6353 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1826, allocations: 30.56 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.1826, allocations: 0 / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.000192/0.1828, allocations: 69.62 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1828, allocations: 51.41 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.1829, allocations: 93.86 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1829, allocations: 25.7 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.183, allocations: 84.12 kB / 0.6356 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.183, allocations: 15.75 kB / 0.6357 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.183, allocations: 13.72 kB / 0.6357 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.1831, allocations: 323 kB / 0.636 GB, free: 176 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.1832, allocations: 7.984 kB / 0.636 GB, free: 168 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.1832, allocations: 8 kB / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.1832, allocations: 24.86 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1833, allocations: 3.938 kB / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.219e-05/0.1834, allocations: 61.56 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1834, allocations: 7.984 kB / 0.6361 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1834, allocations: 0 / 0.6361 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1834, allocations: 0 / 0.6361 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.1835, allocations: 8 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1835, allocations: 4 kB / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.1835, allocations: 3.938 kB / 0.6361 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1835, allocations: 0 / 0.6361 GB, free: 36 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 8.815e-05/0.1836, allocations: 113.8 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1836, allocations: 4 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.1839, allocations: 81.09 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1839, allocations: 4 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1839, allocations: 0 / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1839, allocations: 0 / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.184, allocations: 161.5 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.184, allocations: 4 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.1841, allocations: 8 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1841, allocations: 0 / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1841, allocations: 4 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1841, allocations: 4 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1841, allocations: 0 / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1842, allocations: 89.12 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1843, allocations: 81.09 kB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1843, allocations: 4 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.1844, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.1844, allocations: 3.938 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1844, allocations: 11.98 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.679e-05/0.1844, allocations: 79.28 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1844, allocations: 0 / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1847, allocations: 40 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.0006202/0.1853, allocations: 0.7078 MB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1854, allocations: 31.92 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1854, allocations: 0 / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.1855, allocations: 19.98 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.0001524/0.1856, allocations: 4 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.0004589/0.1861, allocations: 168.3 kB / 0.6377 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.1863, allocations: 0.6768 MB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.1864, allocations: 11.92 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1864, allocations: 15.44 kB / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1864, allocations: 0 / 0.6384 GB, free: 13.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/0.4606, allocations: 1.981 MB / 0.6403 GB, free: 11.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.5, allocations: 6.938 kB / 0.6403 GB, free: 11.66 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)