Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.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.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") [/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.1932/0.1953, allocations: 80.84 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.6575/0.8529, allocations: 159.3 MB / 0.7452 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.8564, allocations: 1.606 MB / 0.7468 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.857, allocations: 9 kB / 0.7468 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009445/0.8581, allocations: 216 kB / 0.747 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.8593, allocations: 395.5 kB / 0.7474 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.8607, allocations: 445.5 kB / 0.7478 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.8649, allocations: 3.976 MB / 0.7517 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.8664, allocations: 0.8916 MB / 0.7525 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.8692, allocations: 1.033 MB / 0.7536 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.871, allocations: 0.836 MB / 0.7544 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.8713, allocations: 51.56 kB / 0.7544 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.8729, allocations: 0.516 MB / 0.7549 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005329/0.8734, allocations: 389.3 kB / 0.7553 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.8746, allocations: 0.6222 MB / 0.7559 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.8769, allocations: 1.641 MB / 0.7575 GB, free: 10.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.8769, allocations: 0 / 0.7575 GB, free: 10.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.877, allocations: 0 / 0.7575 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.877, allocations: 2.281 kB / 0.7575 GB, free: 10.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002747/0.8797, allocations: 1.589 MB / 0.7591 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8798, allocations: 7.625 kB / 0.7591 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/0.8806, allocations: 183.5 kB / 0.7592 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.8819, allocations: 0.8759 MB / 0.7601 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.8819, allocations: 57.91 kB / 0.7601 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.8821, allocations: 70.75 kB / 0.7602 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004076/0.8861, allocations: 1.44 MB / 0.7616 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.8862, allocations: 0 / 0.7616 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.8863, allocations: 29.62 kB / 0.7616 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.8863, allocations: 17.19 kB / 0.7617 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.8901, allocations: 1.315 MB / 0.7629 GB, free: 8.223 MB / 0.545 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.004915/0.895, allocations: 3.651 MB / 0.7665 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/0.8986, allocations: 1.135 MB / 0.7676 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.8989, allocations: 231.9 kB / 0.7678 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.899, allocations: 7.469 kB / 0.7679 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.899, allocations: 40.72 kB / 0.7679 GB, free: 4.949 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.899, allocations: 0 / 0.7679 GB, free: 4.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.01715/0.9162, allocations: 4.283 MB / 0.7721 GB, free: 2.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.9163, allocations: 53.94 kB / 0.7721 GB, free: 2.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.9181, allocations: 1.192 MB / 0.7733 GB, free: 2.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.9183, allocations: 40.83 kB / 0.7733 GB, free: 2.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.9188, allocations: 0.5059 MB / 0.7738 GB, free: 2.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.9189, allocations: 99.66 kB / 0.7739 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.9191, allocations: 122.7 kB / 0.774 GB, free: 2.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.9193, allocations: 319.8 kB / 0.7743 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.9203, allocations: 457 kB / 0.7748 GB, free: 1.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.9217, allocations: 0.8441 MB / 0.7756 GB, free: 1.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.9237, allocations: 0.8801 MB / 0.7765 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.9237, allocations: 7.938 kB / 0.7765 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01128/0.935, allocations: 2.958 MB / 0.7794 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.935, allocations: 7.375 kB / 0.7794 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9351, allocations: 3.938 kB / 0.7794 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.9374, allocations: 1.005 MB / 0.7803 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.9376, allocations: 40.97 kB / 0.7804 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.9589, allocations: 8.901 MB / 0.7891 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.9609, allocations: 303 kB / 0.7894 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.961, allocations: 8 kB / 0.7894 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008197/0.9618, allocations: 495.5 kB / 0.7898 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006751/0.9625, allocations: 0.5359 MB / 0.7904 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000552/0.9631, allocations: 373.9 kB / 0.7907 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.604e-06/0.9631, allocations: 0 / 0.7907 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001541/0.9646, allocations: 0.6645 MB / 0.7914 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9646, allocations: 4 kB / 0.7914 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9647, allocations: 11.92 kB / 0.7914 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/0.9652, allocations: 200.8 kB / 0.7916 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.9654, allocations: 39.97 kB / 0.7916 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.969, allocations: 3.055 MB / 0.7946 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.9708, allocations: 224.1 kB / 0.7948 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.9709, allocations: 8 kB / 0.7948 GB, free: 15.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.9712, allocations: 200.3 kB / 0.795 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.9715, allocations: 110.6 kB / 0.7951 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.9718, allocations: 122.3 kB / 0.7952 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.9718, allocations: 4 kB / 0.7952 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9718, allocations: 3.938 kB / 0.7952 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9718, allocations: 3.938 kB / 0.7953 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009695/0.9815, allocations: 3.372 MB / 0.7985 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.9816, allocations: 4.188 kB / 0.7985 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.9817, allocations: 27.92 kB / 0.7986 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.9841, allocations: 1.011 MB / 0.7996 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.9841, allocations: 7.984 kB / 0.7996 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/1.003, allocations: 8.103 MB / 0.8075 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/1.003, allocations: 0 / 0.8075 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008492/1.011, allocations: 2.569 MB / 0.81 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000883/1.012, allocations: 255.7 kB / 0.8102 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/1.012, allocations: 15.94 kB / 0.8103 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/1.013, allocations: 167.7 kB / 0.8104 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/1.013, allocations: 31.95 kB / 0.8104 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/1.014, allocations: 19.98 kB / 0.8105 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001263/1.015, allocations: 0.8436 MB / 0.8113 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.015, allocations: 0 / 0.8113 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001923/1.017, allocations: 0.5968 MB / 0.8119 GB, free: 13.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004668/1.017, allocations: 145.8 kB / 0.812 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003496/1.021, allocations: 1.594 MB / 0.8136 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.021, allocations: 3.938 kB / 0.8136 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/1.022, allocations: 0.7122 MB / 0.8143 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.025, allocations: 0.5627 MB / 0.8148 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/1.029, allocations: 2.51 MB / 0.8173 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007564/1.03, allocations: 1.22 MB / 0.8185 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009813/1.031, allocations: 240.2 kB / 0.8187 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/1.031, allocations: 63.44 kB / 0.8187 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.031, allocations: 0 / 0.8187 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of Templates: time 0.05338/1.084, allocations: 35.74 MB / 0.8536 GB, free: 2.996 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1)