Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.3878/0.3901, allocations: 80.8 MB / 0.5904 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.022/0.4121, allocations: 29.43 MB / 0.6191 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0166/0.4288, allocations: 12.06 MB / 0.6309 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.4305, allocations: 43.75 kB / 0.631 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.4325, allocations: 0.6836 MB / 0.6316 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.4361, allocations: 1.418 MB / 0.633 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.4397, allocations: 1.579 MB / 0.6345 GB, free: 9.469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005016/0.4447, allocations: 4.01 MB / 0.6385 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.4474, allocations: 1.376 MB / 0.6398 GB, free: 4.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.4515, allocations: 1.534 MB / 0.6413 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.4534, allocations: 1.089 MB / 0.6424 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005212/0.4539, allocations: 140 kB / 0.6425 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.4574, allocations: 1.314 MB / 0.6438 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.4582, allocations: 430.6 kB / 0.6442 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.4598, allocations: 0.8281 MB / 0.645 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.4645, allocations: 2.742 MB / 0.6477 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4645, allocations: 3.938 kB / 0.6477 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4645, allocations: 0 / 0.6477 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.165e-05/0.4646, allocations: 0 / 0.6477 GB, free: 11.95 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004254/0.4689, allocations: 2.077 MB / 0.6497 GB, free: 9.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4689, allocations: 12.03 kB / 0.6497 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.4703, allocations: 258.8 kB / 0.65 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.4732, allocations: 1.346 MB / 0.6513 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.4733, allocations: 66 kB / 0.6514 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.4735, allocations: 92 kB / 0.6514 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.4766, allocations: 1.211 MB / 0.6526 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.4767, allocations: 4 kB / 0.6526 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4768, allocations: 32 kB / 0.6527 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.4768, allocations: 20 kB / 0.6527 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.4797, allocations: 0.9247 MB / 0.6536 GB, free: 5.727 MB / 494.1 MB 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.006282/0.486, allocations: 5.274 MB / 0.6587 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.4884, allocations: 0.7348 MB / 0.6594 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.4891, allocations: 305.5 kB / 0.6597 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002096/0.4912, allocations: 1.395 MB / 0.6611 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.4931, allocations: 0.5403 MB / 0.6616 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004021/0.4935, allocations: 75.27 kB / 0.6617 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.457e-06/0.4936, allocations: 0 / 0.6617 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.01393/0.5075, allocations: 3.265 MB / 0.6649 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.5076, allocations: 144.9 kB / 0.665 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.5096, allocations: 1.302 MB / 0.6663 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.5098, allocations: 41.7 kB / 0.6663 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/0.5105, allocations: 0.6566 MB / 0.667 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.5107, allocations: 165.7 kB / 0.6671 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.5111, allocations: 206.5 kB / 0.6673 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5112, allocations: 337.9 kB / 0.6677 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/0.5122, allocations: 400.4 kB / 0.668 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.5135, allocations: 0.7699 MB / 0.6688 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.5155, allocations: 0.979 MB / 0.6697 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5155, allocations: 3.938 kB / 0.6697 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.005014/0.5205, allocations: 1.55 MB / 0.6713 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.5206, allocations: 83.38 kB / 0.6713 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.5207, allocations: 4 kB / 0.6713 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.5216, allocations: 302.5 kB / 0.6716 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.5222, allocations: 143.8 kB / 0.6718 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00941/0.5316, allocations: 3.861 MB / 0.6755 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5331, allocations: 83.91 kB / 0.6756 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.5334, allocations: 51.97 kB / 0.6757 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001332/0.5347, allocations: 0.6353 MB / 0.6763 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001019/0.5358, allocations: 0.6919 MB / 0.677 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/0.5371, allocations: 0.8463 MB / 0.6778 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/0.5372, allocations: 112 / 0.6778 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002422/0.5396, allocations: 1.261 MB / 0.679 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.5397, allocations: 89.66 kB / 0.6791 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5397, allocations: 4 kB / 0.6791 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.5399, allocations: 108.8 kB / 0.6792 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.5405, allocations: 135.7 kB / 0.6793 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.5427, allocations: 2.37 MB / 0.6817 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5438, allocations: 75.78 kB / 0.6817 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.544, allocations: 47.98 kB / 0.6818 GB, free: 7.312 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.5443, allocations: 236.1 kB / 0.682 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.5447, allocations: 130.4 kB / 0.6821 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.5486, allocations: 1.167 MB / 0.6833 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.5487, allocations: 4 kB / 0.6833 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.5487, allocations: 7.984 kB / 0.6833 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003191/0.5519, allocations: 1.16 MB / 0.6844 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005765/0.5576, allocations: 2.283 MB / 0.6866 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5577, allocations: 7.922 kB / 0.6867 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.5582, allocations: 91.88 kB / 0.6867 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007698/0.5589, allocations: 280.7 kB / 0.687 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.559, allocations: 19.97 kB / 0.687 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/0.5674, allocations: 3.679 MB / 0.6906 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5674, allocations: 128 / 0.6906 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.5721, allocations: 1.595 MB / 0.6922 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/0.5727, allocations: 283.3 kB / 0.6924 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.5731, allocations: 12 kB / 0.6925 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.5741, allocations: 51.95 kB / 0.6925 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.5744, allocations: 56.47 kB / 0.6926 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.255e-05/0.5745, allocations: 27.97 kB / 0.6926 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002117/0.5766, allocations: 0.8936 MB / 0.6935 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5766, allocations: 7.938 kB / 0.6935 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003166/0.5798, allocations: 0.6834 MB / 0.6941 GB, free: 10.28 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump_dp.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.581, allocations: 433.5 kB / 0.6946 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00581/0.5868, allocations: 2.588 MB / 0.6971 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.5869, allocations: 4.062 kB / 0.6971 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.589, allocations: 0.6539 MB / 0.6977 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.592, allocations: 0.6435 MB / 0.6983 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.5973, allocations: 2.542 MB / 0.7008 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.5983, allocations: 1.288 MB / 0.7021 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001402/0.5998, allocations: 308.9 kB / 0.7024 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.6, allocations: 107.4 kB / 0.7025 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.6001, allocations: 7.938 kB / 0.7025 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of Templates: time 0.05691/0.657, allocations: 34.81 MB / 0.7365 GB, free: 15.08 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)