Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009216, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008984/0.0008984, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9953/0.9953, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.449/0.6059, allocations: 195 MB / 0.7877 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.6244, allocations: 14.53 MB / 0.8019 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.6261, allocations: 51.62 kB / 0.8019 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.6286, allocations: 0.9527 MB / 0.8028 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.6361, allocations: 2.979 MB / 0.8057 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.64, allocations: 1.537 MB / 0.8072 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.6432, allocations: 2.023 MB / 0.8092 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.6444, allocations: 0.9531 MB / 0.8102 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.6486, allocations: 1.713 MB / 0.8118 GB, free: 284 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.6497, allocations: 0.6884 MB / 0.8125 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.6498, allocations: 48 kB / 0.8125 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.6532, allocations: 1.681 MB / 0.8142 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.6536, allocations: 362.8 kB / 0.8145 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.6539, allocations: 332.9 kB / 0.8149 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.6561, allocations: 1.972 MB / 0.8168 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.6561, allocations: 3.938 kB / 0.8168 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6561, allocations: 3.938 kB / 0.8168 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.6562, allocations: 0 / 0.8168 GB, free: 11.19 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002951/0.6591, allocations: 1.697 MB / 0.8184 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.6592, allocations: 8.031 kB / 0.8185 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.6619, allocations: 0.5367 MB / 0.819 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.664, allocations: 1.068 MB / 0.82 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009511/0.665, allocations: 277.8 kB / 0.8203 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6651, allocations: 104 kB / 0.8204 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.6675, allocations: 1.322 MB / 0.8217 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.6675, allocations: 8.75 kB / 0.8217 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6676, allocations: 43.95 kB / 0.8217 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.6677, allocations: 45.98 kB / 0.8218 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.6702, allocations: 1.108 MB / 0.8228 GB, free: 4.781 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007329/0.6775, allocations: 6.713 MB / 0.8294 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.6797, allocations: 0.633 MB / 0.83 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.872e-05/0.6798, allocations: 16.27 kB / 0.83 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6799, allocations: 38.84 kB / 0.8301 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.6799, allocations: 0 / 0.8301 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002609/0.6825, allocations: 0.9194 MB / 0.831 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.6825, allocations: 55.41 kB / 0.831 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.6843, allocations: 1.354 MB / 0.8323 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.6844, allocations: 33.7 kB / 0.8324 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.6849, allocations: 0.6794 MB / 0.833 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.685, allocations: 122.3 kB / 0.8332 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.6851, allocations: 20 kB / 0.8332 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6852, allocations: 330 kB / 0.8335 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.6861, allocations: 325.1 kB / 0.8338 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.6872, allocations: 0.6513 MB / 0.8344 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/0.6881, allocations: 395.6 kB / 0.8348 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6882, allocations: 0 / 0.8348 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002343/0.6905, allocations: 1.051 MB / 0.8358 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/0.6917, allocations: 3.908 MB / 0.8397 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.6918, allocations: 8 kB / 0.8397 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.6918, allocations: 16 kB / 0.8397 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.6927, allocations: 211.7 kB / 0.8399 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.6927, allocations: 20.55 kB / 0.8399 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.6942, allocations: 230.7 kB / 0.8401 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.6943, allocations: 39.98 kB / 0.8402 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.6943, allocations: 7.953 kB / 0.8402 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002135/0.6965, allocations: 0.9012 MB / 0.8411 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6965, allocations: 12 kB / 0.8411 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6965, allocations: 12.78 kB / 0.8411 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/0.6974, allocations: 211.7 kB / 0.8413 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.6974, allocations: 27.64 kB / 0.8413 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.6985, allocations: 213.3 kB / 0.8415 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.6986, allocations: 39.98 kB / 0.8415 GB, free: 0.7344 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (81): * Single equations (assignments): 81 * 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.000526/0.6991, allocations: 408.8 kB / 0.8419 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.6993, allocations: 142.3 kB / 0.8421 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.701, allocations: 0.6753 MB / 0.8427 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.701, allocations: 4 kB / 0.8427 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.701, allocations: 0 / 0.8427 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.7011, allocations: 3.984 kB / 0.8427 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.7054, allocations: 2.539 MB / 0.8452 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7054, allocations: 8.25 kB / 0.8452 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.7059, allocations: 123.2 kB / 0.8453 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.7059, allocations: 8 kB / 0.8453 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.706, allocations: 16 kB / 0.8454 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.706, allocations: 15.92 kB / 0.8454 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.706, allocations: 8 kB / 0.8454 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.7079, allocations: 1.402 MB / 0.8468 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.7083, allocations: 295.2 kB / 0.847 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.7086, allocations: 19.95 kB / 0.8471 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.7096, allocations: 111.9 kB / 0.8472 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.7097, allocations: 47.8 kB / 0.8472 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.7098, allocations: 27.97 kB / 0.8472 GB, free: 10.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001291/0.7111, allocations: 0.9277 MB / 0.8481 GB, free: 9.445 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7111, allocations: 0 / 0.8481 GB, free: 9.445 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001663/0.7128, allocations: 0.5849 MB / 0.8487 GB, free: 8.859 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (32): * Single equations (assignments): 32 * 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.0005744/0.7133, allocations: 278.2 kB / 0.849 GB, free: 8.586 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002994/0.7164, allocations: 1.155 MB / 0.8501 GB, free: 7.434 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7164, allocations: 0 / 0.8501 GB, free: 7.434 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.7172, allocations: 296.8 kB / 0.8504 GB, free: 7.145 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.72, allocations: 0.6287 MB / 0.851 GB, free: 6.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.7241, allocations: 2.645 MB / 0.8536 GB, free: 3.746 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/0.725, allocations: 1.212 MB / 0.8548 GB, free: 2.504 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00149/0.7265, allocations: 355.9 kB / 0.8551 GB, free: 2.152 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.7267, allocations: 87.42 kB / 0.8552 GB, free: 2.066 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.7267, allocations: 0 / 0.8552 GB, free: 2.066 MB / 0.67 GB Notification: Performance of Templates: time 0.2682/0.995, allocations: 21.44 MB / 0.8761 GB, free: 204.4 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: