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.001241/0.001241, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001241/0.001241, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.224/1.224, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 284.2 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.874/0.874, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 89.7 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 86.98 MB / 0.6803 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002798/0.1585, allocations: 1.976 MB / 0.6822 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4235/0.582, allocations: 153.2 MB / 0.8318 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.5822, allocations: 7.938 kB / 0.8318 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.5824, allocations: 19.86 kB / 0.8318 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.5828, allocations: 63.55 kB / 0.8319 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.5834, allocations: 239.4 kB / 0.8321 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.5837, allocations: 263.1 kB / 0.8324 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.5839, allocations: 74.33 kB / 0.8324 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.5858, allocations: 237.4 kB / 0.8327 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.5859, allocations: 95.59 kB / 0.8328 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.586, allocations: 16 kB / 0.8328 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.5863, allocations: 179.7 kB / 0.8329 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.5864, allocations: 43.83 kB / 0.833 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.5865, allocations: 107.5 kB / 0.8331 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.5868, allocations: 195.6 kB / 0.8333 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5868, allocations: 4 kB / 0.8333 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5868, allocations: 0 / 0.8333 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.5868, allocations: 0 / 0.8333 GB, free: 2.781 MB / 0.5919 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.0009036/0.5877, allocations: 0.5267 MB / 0.8338 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.5877, allocations: 8.031 kB / 0.8338 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.5886, allocations: 83.72 kB / 0.8339 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.5888, allocations: 227.6 kB / 0.8341 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.5889, allocations: 45.97 kB / 0.8341 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.5889, allocations: 16 kB / 0.8342 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.5894, allocations: 258.6 kB / 0.8344 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.5895, allocations: 0 / 0.8344 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.5895, allocations: 8 kB / 0.8344 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5895, allocations: 7.938 kB / 0.8344 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.59, allocations: 175.7 kB / 0.8346 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.5915, allocations: 1.17 MB / 0.8357 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.5922, allocations: 207.6 kB / 0.8359 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.5924, allocations: 77.36 kB / 0.836 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.5925, allocations: 0 / 0.836 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5925, allocations: 38.5 kB / 0.836 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.5925, allocations: 0 / 0.836 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.00259/0.5951, allocations: 0.6258 MB / 0.8366 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.5951, allocations: 59.34 kB / 0.8367 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.5954, allocations: 218.9 kB / 0.8369 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.5954, allocations: 25.7 kB / 0.8369 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.5955, allocations: 136 kB / 0.8371 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.5955, allocations: 47.36 kB / 0.8371 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.5956, allocations: 45.69 kB / 0.8372 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5957, allocations: 326.8 kB / 0.8375 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.596, allocations: 75.94 kB / 0.8375 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.5962, allocations: 125 kB / 0.8377 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.5966, allocations: 205.7 kB / 0.8379 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5966, allocations: 0 / 0.8379 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001383/0.598, allocations: 378.8 kB / 0.8382 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.598, allocations: 8 kB / 0.8382 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.598, allocations: 0 / 0.8382 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5991, allocations: 165.6 kB / 0.8384 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5993, allocations: 38.09 kB / 0.8384 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.6032, allocations: 3.252 MB / 0.8416 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.6036, allocations: 35.8 kB / 0.8416 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.6036, allocations: 9.375 kB / 0.8416 GB, free: 9.551 MB / 0.6075 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.0001345/0.6037, allocations: 137.6 kB / 0.8418 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.6038, allocations: 15.81 kB / 0.8418 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.6051, allocations: 368.3 kB / 0.8421 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.6051, allocations: 4 kB / 0.8421 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.6051, allocations: 0 / 0.8421 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6051, allocations: 3.984 kB / 0.8421 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.6054, allocations: 277.3 kB / 0.8424 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6055, allocations: 4 kB / 0.8424 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.6056, allocations: 23.92 kB / 0.8424 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008425/0.6064, allocations: 149.5 kB / 0.8426 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.6065, allocations: 0 / 0.8426 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.61, allocations: 3.294 MB / 0.8458 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.61, allocations: 3.984 kB / 0.8458 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.6112, allocations: 435.3 kB / 0.8462 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6113, allocations: 116.8 kB / 0.8463 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.6114, allocations: 3.938 kB / 0.8463 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.6116, allocations: 20.11 kB / 0.8463 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.6117, allocations: 23.97 kB / 0.8464 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.6118, allocations: 4 kB / 0.8464 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000175/0.6119, allocations: 159.9 kB / 0.8465 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6119, allocations: 0 / 0.8465 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000388/0.6123, allocations: 71.94 kB / 0.8466 GB, free: 4.066 MB / 0.6075 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.0001941/0.6125, allocations: 123.2 kB / 0.8467 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.6136, allocations: 450 kB / 0.8471 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6136, allocations: 0 / 0.8471 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.6143, allocations: 365.2 kB / 0.8475 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.6147, allocations: 63.42 kB / 0.8476 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.6157, allocations: 0.5062 MB / 0.848 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.616, allocations: 0.7362 MB / 0.8488 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.6161, allocations: 23.42 kB / 0.8488 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.6161, allocations: 0 / 0.8488 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of Templates: time 0.006368/0.6224, allocations: 4.417 MB / 0.8531 GB, free: 13.31 MB / 0.6231 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)