Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007746/0.0007746, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004915/0.004915, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 271.1 kB / 291.7 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004313, allocations: 14.69 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1783, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002609/0.181, allocations: 1.619 MB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5103/0.6913, allocations: 151.5 MB / 0.8346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.6915, allocations: 1.25 kB / 0.8346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.6917, allocations: 20.92 kB / 0.8347 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.692, allocations: 64.34 kB / 0.8347 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.6927, allocations: 226.6 kB / 0.8349 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.693, allocations: 248.6 kB / 0.8352 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.6932, allocations: 73.02 kB / 0.8352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.695, allocations: 211.5 kB / 0.8354 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.6952, allocations: 79.03 kB / 0.8355 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.6952, allocations: 10.67 kB / 0.8355 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.6956, allocations: 173.3 kB / 0.8357 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.6956, allocations: 35.77 kB / 0.8357 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.6958, allocations: 105.1 kB / 0.8358 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.6962, allocations: 273.4 kB / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6962, allocations: 0 / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6962, allocations: 0 / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.6962, allocations: 0 / 0.8361 GB, free: 10.27 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008972/0.6971, allocations: 0.4937 MB / 0.8366 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6971, allocations: 13.72 kB / 0.8366 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008613/0.698, allocations: 78.84 kB / 0.8367 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.6983, allocations: 226.2 kB / 0.8369 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.6984, allocations: 42.19 kB / 0.8369 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.6984, allocations: 18.91 kB / 0.8369 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.699, allocations: 274 kB / 0.8372 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.699, allocations: 0 / 0.8372 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.6991, allocations: 6.906 kB / 0.8372 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.6991, allocations: 4.375 kB / 0.8372 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.6996, allocations: 182.6 kB / 0.8374 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.7011, allocations: 1.193 MB / 0.8385 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.7018, allocations: 212.1 kB / 0.8388 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.702, allocations: 75.41 kB / 0.8388 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.702, allocations: 1.406 kB / 0.8388 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.7021, allocations: 45.91 kB / 0.8389 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.7021, allocations: 0 / 0.8389 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002619/0.7047, allocations: 0.6554 MB / 0.8395 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.7047, allocations: 55.34 kB / 0.8396 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.705, allocations: 208.6 kB / 0.8398 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.705, allocations: 29.05 kB / 0.8398 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.7051, allocations: 144.9 kB / 0.8399 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.7051, allocations: 35.05 kB / 0.84 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.7052, allocations: 24.03 kB / 0.84 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7053, allocations: 334.1 kB / 0.8403 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.7055, allocations: 75.98 kB / 0.8404 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.7057, allocations: 138 kB / 0.8405 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.7062, allocations: 209.5 kB / 0.8407 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7062, allocations: 0 / 0.8407 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001416/0.7076, allocations: 389.3 kB / 0.8411 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7076, allocations: 7.656 kB / 0.8411 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7076, allocations: 2.812 kB / 0.8411 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.7087, allocations: 164.7 kB / 0.8412 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.7089, allocations: 34.88 kB / 0.8413 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.7126, allocations: 3.037 MB / 0.8442 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.713, allocations: 34.7 kB / 0.8443 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.713, allocations: 10.86 kB / 0.8443 GB, free: 3.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.7131, allocations: 134.4 kB / 0.8444 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.7132, allocations: 21.12 kB / 0.8444 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.7145, allocations: 386.2 kB / 0.8448 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7145, allocations: 7.297 kB / 0.8448 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.7145, allocations: 0 / 0.8448 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7145, allocations: 3.938 kB / 0.8448 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.7148, allocations: 271.5 kB / 0.8451 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7149, allocations: 0.875 kB / 0.8451 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.715, allocations: 35.44 kB / 0.8451 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009468/0.7159, allocations: 164.2 kB / 0.8453 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.716, allocations: 9.672 kB / 0.8453 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00346/0.7194, allocations: 3.076 MB / 0.8483 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7195, allocations: 0 / 0.8483 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.7207, allocations: 451.8 kB / 0.8487 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.7209, allocations: 112.7 kB / 0.8488 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.7209, allocations: 6.812 kB / 0.8488 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.7212, allocations: 18.89 kB / 0.8488 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.7213, allocations: 17.78 kB / 0.8489 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.7213, allocations: 9.062 kB / 0.8489 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001746/0.7215, allocations: 160.9 kB / 0.849 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7215, allocations: 0 / 0.849 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004199/0.7219, allocations: 72.12 kB / 0.8491 GB, free: 14.72 MB / 0.5762 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.7221, allocations: 111.9 kB / 0.8492 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.7232, allocations: 462.7 kB / 0.8496 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7232, allocations: 0 / 0.8496 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.7238, allocations: 359.9 kB / 0.85 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.7243, allocations: 53.8 kB / 0.85 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.7252, allocations: 498.2 kB / 0.8505 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.7256, allocations: 0.7305 MB / 0.8512 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.7258, allocations: 42.17 kB / 0.8513 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.7258, allocations: 26.27 kB / 0.8513 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.7258, allocations: 0 / 0.8513 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.009117/0.735, allocations: 4.922 MB / 0.8561 GB, free: 10.36 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)