Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") [/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.1506/0.1513, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.0266/0.178, allocations: 27.27 MB / 0.62 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.1936, allocations: 11.23 MB / 0.631 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.195, allocations: 39.75 kB / 0.631 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.1968, allocations: 0.5988 MB / 0.6316 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.2011, allocations: 1.359 MB / 0.6329 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006301/0.2074, allocations: 2.324 MB / 0.6352 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004138/0.2115, allocations: 2.929 MB / 0.638 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.2136, allocations: 1.665 MB / 0.6397 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.216, allocations: 1.433 MB / 0.6411 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.2174, allocations: 0.9607 MB / 0.642 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.2176, allocations: 84 kB / 0.6421 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.22, allocations: 0.8935 MB / 0.643 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.2205, allocations: 402.4 kB / 0.6433 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.221, allocations: 412.6 kB / 0.6437 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.2237, allocations: 2.412 MB / 0.6461 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2237, allocations: 4 kB / 0.6461 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2237, allocations: 0 / 0.6461 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.2237, allocations: 0 / 0.6461 GB, free: 15.89 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004292/0.228, allocations: 2.235 MB / 0.6483 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2281, allocations: 12.02 kB / 0.6483 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.2294, allocations: 317.2 kB / 0.6486 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.2327, allocations: 1.676 MB / 0.6502 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.2328, allocations: 82 kB / 0.6503 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.233, allocations: 108 kB / 0.6504 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/0.2383, allocations: 2.21 MB / 0.6526 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.2383, allocations: 0 / 0.6526 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.2384, allocations: 44 kB / 0.6526 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.2384, allocations: 24 kB / 0.6526 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005108/0.2436, allocations: 1.9 MB / 0.6545 GB, free: 7.074 MB / 0.4981 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.009069/0.2526, allocations: 7.36 MB / 0.6617 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/0.257, allocations: 1.465 MB / 0.6631 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002884/0.2599, allocations: 1.716 MB / 0.6648 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003808/0.2637, allocations: 1.273 MB / 0.666 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006443/0.2643, allocations: 131.1 kB / 0.6661 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.2644, allocations: 0 / 0.6661 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.02638/0.2907, allocations: 7.435 MB / 0.6734 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.2909, allocations: 141 kB / 0.6735 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.2936, allocations: 1.887 MB / 0.6754 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002755/0.2939, allocations: 45.7 kB / 0.6754 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008395/0.2947, allocations: 0.8864 MB / 0.6763 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.2949, allocations: 185.4 kB / 0.6765 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.295, allocations: 20 kB / 0.6765 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2951, allocations: 341.9 kB / 0.6768 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.297, allocations: 0.7473 MB / 0.6775 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.2996, allocations: 1.416 MB / 0.6789 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.3017, allocations: 0.8884 MB / 0.6798 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3017, allocations: 4 kB / 0.6798 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01301/0.3148, allocations: 4.088 MB / 0.6838 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001576/0.3164, allocations: 3.92 MB / 0.6876 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.3164, allocations: 8 kB / 0.6876 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/0.319, allocations: 0.9997 MB / 0.6886 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.3199, allocations: 191.6 kB / 0.6888 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3204/0.6403, allocations: 9.119 MB / 0.6977 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.643, allocations: 352.5 kB / 0.698 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.6432, allocations: 65.03 kB / 0.6981 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.6432, allocations: 4.406 kB / 0.6981 GB, free: 92.8 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/0.6453, allocations: 1.385 MB / 0.6994 GB, free: 92.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6453, allocations: 10.06 kB / 0.6995 GB, free: 92.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.6457, allocations: 156.7 kB / 0.6996 GB, free: 92.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.6463, allocations: 176.6 kB / 0.6998 GB, free: 92.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.6484, allocations: 2.386 MB / 0.7021 GB, free: 91.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.6502, allocations: 211.1 kB / 0.7023 GB, free: 91.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.6503, allocations: 59.25 kB / 0.7024 GB, free: 91.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008476/0.6512, allocations: 0.5944 MB / 0.7029 GB, free: 91.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.6514, allocations: 174.9 kB / 0.7031 GB, free: 91.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009146/0.6606, allocations: 3.106 MB / 0.7061 GB, free: 91.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.6606, allocations: 10.94 kB / 0.7062 GB, free: 91.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6606, allocations: 1.062 kB / 0.7062 GB, free: 91.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009014/0.6696, allocations: 3.034 MB / 0.7091 GB, free: 90.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.6818, allocations: 4.6 MB / 0.7136 GB, free: 88.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6819, allocations: 8 kB / 0.7136 GB, free: 88.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.6824, allocations: 102.6 kB / 0.7137 GB, free: 88.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/0.6847, allocations: 0.9846 MB / 0.7147 GB, free: 88.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.6848, allocations: 25.44 kB / 0.7147 GB, free: 88.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.7036, allocations: 8.556 MB / 0.7231 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7036, allocations: 4.062 kB / 0.7231 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009687/0.7133, allocations: 3.958 MB / 0.7269 GB, free: 80.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008455/0.7142, allocations: 374.2 kB / 0.7273 GB, free: 79.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.7144, allocations: 12.94 kB / 0.7273 GB, free: 79.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.7157, allocations: 247.3 kB / 0.7275 GB, free: 79.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.7159, allocations: 56.45 kB / 0.7276 GB, free: 79.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.716, allocations: 27.97 kB / 0.7276 GB, free: 79.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001382/0.7174, allocations: 1.305 MB / 0.7289 GB, free: 78.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7174, allocations: 0 / 0.7289 GB, free: 78.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002547/0.7199, allocations: 0.9626 MB / 0.7298 GB, free: 77.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008217/0.7208, allocations: 431.1 kB / 0.7302 GB, free: 76.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005606/0.7264, allocations: 3.441 MB / 0.7336 GB, free: 73.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7264, allocations: 0 / 0.7336 GB, free: 73.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.7288, allocations: 1.095 MB / 0.7347 GB, free: 72.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.7324, allocations: 0.8915 MB / 0.7355 GB, free: 71.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.7371, allocations: 3.907 MB / 0.7394 GB, free: 67.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.7378, allocations: 1.545 MB / 0.7409 GB, free: 65.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001375/0.7391, allocations: 436.8 kB / 0.7413 GB, free: 65.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.7394, allocations: 143.4 kB / 0.7414 GB, free: 65.26 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.7394, allocations: 0 / 0.7414 GB, free: 65.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.0534/0.7928, allocations: 46.87 MB / 0.7872 GB, free: 18.81 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: