Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006766/0.0006766, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004327/0.004327, allocations: 168.4 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 252 MB / 0.5105 GB, free: 4.695 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004388, allocations: 23.98 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3773, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001226/0.3786, allocations: 1.006 MB / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3798, allocations: 0.8429 MB / 0.7305 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.3798, allocations: 0 / 0.7305 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.135e-05/0.3798, allocations: 0 / 0.7305 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.3799, allocations: 3.938 kB / 0.7305 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.3802, allocations: 111.6 kB / 0.7306 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.3803, allocations: 27.86 kB / 0.7307 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.3803, allocations: 4 kB / 0.7307 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.3804, allocations: 15.92 kB / 0.7307 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.3804, allocations: 11.98 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3804, allocations: 0 / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.3807, allocations: 167.7 kB / 0.7309 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.3808, allocations: 11.94 kB / 0.7309 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.3808, allocations: 29.7 kB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.381, allocations: 125.7 kB / 0.731 GB, free: 8.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.381, allocations: 0 / 0.731 GB, free: 8.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.645e-06/0.381, allocations: 0 / 0.731 GB, free: 8.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.381, allocations: 3.938 kB / 0.731 GB, free: 8.906 MB / 0.545 GB 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.0003782/0.3814, allocations: 355.5 kB / 0.7314 GB, free: 8.508 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3815, allocations: 12.03 kB / 0.7314 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3815, allocations: 0.9375 kB / 0.7314 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3816, allocations: 168.3 kB / 0.7315 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.3817, allocations: 34.25 kB / 0.7316 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.3817, allocations: 384 / 0.7316 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.3818, allocations: 46.25 kB / 0.7316 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3818, allocations: 11.88 kB / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3819, allocations: 0 / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3819, allocations: 0 / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.382, allocations: 23.97 kB / 0.7316 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.3821, allocations: 161.5 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3823, allocations: 46.61 kB / 0.7318 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.3823, allocations: 16.94 kB / 0.7319 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3826, allocations: 182.2 kB / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3826, allocations: 34.56 kB / 0.7321 GB, free: 7.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3826, allocations: 0 / 0.7321 GB, free: 7.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002242/0.3829, allocations: 69.55 kB / 0.7321 GB, free: 7.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3829, allocations: 55.41 kB / 0.7322 GB, free: 7.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.383, allocations: 97.86 kB / 0.7323 GB, free: 7.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.383, allocations: 29.7 kB / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.383, allocations: 80.14 kB / 0.7324 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.383, allocations: 15.78 kB / 0.7324 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.3831, allocations: 13.72 kB / 0.7324 GB, free: 7.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.3832, allocations: 314.8 kB / 0.7327 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.3832, allocations: 7.984 kB / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.3833, allocations: 12 kB / 0.7327 GB, free: 6.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.3834, allocations: 28.84 kB / 0.7328 GB, free: 6.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3834, allocations: 0 / 0.7328 GB, free: 6.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001255/0.3835, allocations: 57.62 kB / 0.7328 GB, free: 6.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3835, allocations: 11.94 kB / 0.7328 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3835, allocations: 3.984 kB / 0.7328 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.3835, allocations: 0 / 0.7328 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.3836, allocations: 8 kB / 0.7328 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3836, allocations: 3.938 kB / 0.7328 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.3836, allocations: 4 kB / 0.7328 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3836, allocations: 0 / 0.7328 GB, free: 6.77 MB / 0.545 GB 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 6.81e-05/0.3837, allocations: 109.8 kB / 0.7329 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.3837, allocations: 7.922 kB / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.3839, allocations: 81 kB / 0.733 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3839, allocations: 0 / 0.733 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3839, allocations: 0 / 0.733 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3839, allocations: 0.5625 kB / 0.733 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/0.384, allocations: 161.7 kB / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.384, allocations: 0 / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.3841, allocations: 4 kB / 0.7332 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3841, allocations: 3.938 kB / 0.7332 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.3841, allocations: 4 kB / 0.7332 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3841, allocations: 4 kB / 0.7332 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3841, allocations: 3.938 kB / 0.7332 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3843, allocations: 89.09 kB / 0.7333 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.3843, allocations: 85.03 kB / 0.7334 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3843, allocations: 7.875 kB / 0.7334 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/0.3844, allocations: 8 kB / 0.7334 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.3844, allocations: 3.984 kB / 0.7334 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.3844, allocations: 4 kB / 0.7334 GB, free: 6.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.3845, allocations: 75.28 kB / 0.7335 GB, free: 6.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 0 / 0.7335 GB, free: 6.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002069/0.3847, allocations: 36 kB / 0.7335 GB, free: 5.988 MB / 0.545 GB 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.0001871/0.3849, allocations: 139.2 kB / 0.7336 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.385, allocations: 23.98 kB / 0.7337 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.385, allocations: 0 / 0.7337 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.3851, allocations: 19.92 kB / 0.7337 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.3853, allocations: 4 kB / 0.7337 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.3855, allocations: 152.6 kB / 0.7338 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3857, allocations: 0.677 MB / 0.7345 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.3858, allocations: 7.859 kB / 0.7345 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.3858, allocations: 7.438 kB / 0.7345 GB, free: 4.902 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.3858, allocations: 4 kB / 0.7345 GB, free: 4.898 MB / 0.545 GB Notification: Performance of Templates: time 0.002769/0.3886, allocations: 1.03 MB / 0.7355 GB, free: 3.871 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: