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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001864/0.001864, allocations: 96.81 kB / 15.69 MB, free: 480 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.002164/0.002165, allocations: 172.4 kB / 16.57 MB, free: 6.398 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.571/2.571, allocations: 223.2 MB / 240.5 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.13/1.13, allocations: 113.7 MB / 405.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006774/0.0006777, allocations: 8.969 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3734, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002567/0.3761, allocations: 0.9589 MB / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.3771, allocations: 269.6 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.3771, allocations: 0 / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.3772, allocations: 0 / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.3773, allocations: 0 / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3777, allocations: 47.8 kB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.3778, allocations: 15.97 kB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.3779, allocations: 0 / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.378, allocations: 7.984 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3781, allocations: 11.94 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3782, allocations: 0 / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.3784, allocations: 63.94 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.3784, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.3785, allocations: 29.7 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3787, allocations: 36.19 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3787, allocations: 0 / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.3787, allocations: 0 / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3787, allocations: 0 / 0.5581 GB, free: 10.25 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.0006994/0.3794, allocations: 327.4 kB / 0.5584 GB, free: 9.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.644e-05/0.3795, allocations: 16.03 kB / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.3796, allocations: 38.55 kB / 0.5585 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.3799, allocations: 15.98 kB / 0.5585 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3802, allocations: 171 kB / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3802, allocations: 0 / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3802, allocations: 3.953 kB / 0.5587 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3804, allocations: 41.69 kB / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3805, allocations: 0 / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.3805, allocations: 7.984 kB / 0.5587 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3805, allocations: 0 / 0.5587 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.3806, allocations: 16 kB / 0.5587 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.3809, allocations: 165.5 kB / 0.5589 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.3833, allocations: 270.4 kB / 0.5591 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3833, allocations: 0 / 0.5591 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.3834, allocations: 38.52 kB / 0.5592 GB, free: 8.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 3.456e-06/0.3834, allocations: 3.984 kB / 0.5592 GB, free: 8.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002876/0.3837, allocations: 61.78 kB / 0.5592 GB, free: 8.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.3838, allocations: 55.41 kB / 0.5593 GB, free: 8.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3839, allocations: 93.84 kB / 0.5594 GB, free: 8.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.384, allocations: 33.64 kB / 0.5594 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3841, allocations: 80.14 kB / 0.5595 GB, free: 8.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.3841, allocations: 7.906 kB / 0.5595 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3841, allocations: 0 / 0.5595 GB, free: 8.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3843, allocations: 314.8 kB / 0.5598 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.3844, allocations: 4 kB / 0.5598 GB, free: 8.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3846, allocations: 12.11 kB / 0.5598 GB, free: 8.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/0.3846, allocations: 16 kB / 0.5598 GB, free: 8.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3846, allocations: 0 / 0.5598 GB, free: 8.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.3848, allocations: 57.59 kB / 0.5599 GB, free: 8.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3848, allocations: 4 kB / 0.5599 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3848, allocations: 3.953 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3848, allocations: 0 / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.3849, allocations: 4 kB / 0.5599 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.385, allocations: 11.88 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.385, allocations: 0 / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.385, allocations: 0 / 0.5599 GB, free: 8.191 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 0.0001378/0.3852, allocations: 117.8 kB / 0.56 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.3852, allocations: 4 kB / 0.56 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.3853, allocations: 7.5 kB / 0.56 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3853, allocations: 3.953 kB / 0.56 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3853, allocations: 0 / 0.56 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3853, allocations: 0 / 0.56 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3855, allocations: 161.6 kB / 0.5602 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3855, allocations: 0 / 0.5602 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.3856, allocations: 4 kB / 0.5602 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3856, allocations: 4 kB / 0.5602 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3856, allocations: 0 / 0.5602 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3856, allocations: 0 / 0.5602 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3857, allocations: 3.953 kB / 0.5602 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3858, allocations: 85.06 kB / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.386, allocations: 85 kB / 0.5604 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.386, allocations: 0 / 0.5604 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.3861, allocations: 4 kB / 0.5604 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3861, allocations: 15.89 kB / 0.5604 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3861, allocations: 0 / 0.5604 GB, free: 7.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.3862, allocations: 75.28 kB / 0.5605 GB, free: 7.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3862, allocations: 0 / 0.5605 GB, free: 7.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.3865, allocations: 12 kB / 0.5605 GB, free: 7.516 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.0007264/0.3873, allocations: 0.6098 MB / 0.5611 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.3875, allocations: 31.92 kB / 0.5611 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3875, allocations: 0 / 0.5611 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.3875, allocations: 12.09 kB / 0.5611 GB, free: 6.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3878, allocations: 7.984 kB / 0.5611 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.3885, allocations: 170.2 kB / 0.5613 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3889, allocations: 0.6848 MB / 0.5619 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.181e-05/0.389, allocations: 4 kB / 0.562 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.389, allocations: 11.44 kB / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.389, allocations: 0 / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.4094, allocations: 1.064 MB / 0.563 GB, free: 4.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/0.4098, allocations: 192.1 kB / 0.5632 GB, free: 4.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.329, allocations: 0 / 0.5632 GB, free: 4.719 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: