Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001086/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001245/0.001245, allocations: 194.3 kB / 16.14 MB, free: 6.688 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3822, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002558/0.3848, allocations: 1.323 MB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3863, allocations: 0.8529 MB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.3864, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.3864, allocations: 3.984 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.3865, allocations: 3.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3869, allocations: 115.5 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.387, allocations: 23.86 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.3871, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.3871, allocations: 8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.3872, allocations: 11.92 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3872, allocations: 4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.3876, allocations: 175.7 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.3876, allocations: 7.984 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3876, allocations: 11.94 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3879, allocations: 120 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3879, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3879, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3879, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 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.0004635/0.3884, allocations: 355.5 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3884, allocations: 12.03 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3885, allocations: 12.84 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3886, allocations: 172.3 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.3887, allocations: 26.27 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3887, allocations: 4.375 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3888, allocations: 46.23 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3888, allocations: 3.938 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3888, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3889, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.389, allocations: 19.98 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.3891, allocations: 157.7 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.3894, allocations: 50.5 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.3894, allocations: 16.86 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.3897, allocations: 174.3 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3898, allocations: 38.56 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.585e-06/0.3898, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002642/0.39, allocations: 77.53 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3901, allocations: 51.41 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.3902, allocations: 105.8 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3902, allocations: 25.7 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.3902, allocations: 80.14 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.3903, allocations: 7.812 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3903, allocations: 25.7 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3904, allocations: 318.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.3905, allocations: 8 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.3905, allocations: 7.984 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3907, allocations: 32.84 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3907, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.3908, allocations: 53.69 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3908, allocations: 11.94 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.3908, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3909, allocations: 3.938 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.3909, allocations: 7.984 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3909, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.391, allocations: 7.844 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.391, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 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 8.656e-05/0.3911, allocations: 113.8 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.3911, allocations: 7.938 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3913, allocations: 65.17 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3913, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3913, allocations: 3.984 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3913, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3914, allocations: 157.7 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3914, allocations: 7.938 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.3915, allocations: 4 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3915, allocations: 3.938 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3915, allocations: 4 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3915, allocations: 4 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3915, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3917, allocations: 89.11 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.3918, allocations: 85.61 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3918, allocations: 3.938 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.3919, allocations: 7.938 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3919, allocations: 4 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3919, allocations: 4 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.392, allocations: 87.25 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.392, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002403/0.3922, allocations: 31.94 kB / 1.073 GB, free: 5.277 MB / 0.8262 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.0002644/0.3925, allocations: 135.2 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.3926, allocations: 27.98 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3926, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.3927, allocations: 15.98 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.393, allocations: 8 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.3933, allocations: 136.8 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3936, allocations: 0.677 MB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.125e-05/0.3936, allocations: 11.86 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.3936, allocations: 11.38 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3936, allocations: 0 / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of Templates: time 0.003424/0.3971, allocations: 1.016 MB / 1.075 GB, free: 3.176 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)