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.1752/0.1765, allocations: 82.22 MB / 0.5941 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.5377/0.7142, allocations: 157.2 MB / 0.7476 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.7179, allocations: 1.582 MB / 0.7492 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007629/0.7187, allocations: 9.5 kB / 0.7492 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.7199, allocations: 223.4 kB / 0.7494 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.7218, allocations: 388.5 kB / 0.7498 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.7234, allocations: 444.2 kB / 0.7502 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00512/0.7285, allocations: 3.971 MB / 0.7541 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.7302, allocations: 0.8838 MB / 0.7549 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.7327, allocations: 1.015 MB / 0.7559 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.7342, allocations: 0.8282 MB / 0.7567 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.7345, allocations: 48.66 kB / 0.7568 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.7359, allocations: 0.5179 MB / 0.7573 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.7364, allocations: 376.4 kB / 0.7576 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.7375, allocations: 0.6344 MB / 0.7583 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.7393, allocations: 1.622 MB / 0.7598 GB, free: 11.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7394, allocations: 0 / 0.7598 GB, free: 11.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7394, allocations: 0 / 0.7598 GB, free: 11.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.402e-05/0.7394, allocations: 4 kB / 0.7599 GB, free: 11 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.00283/0.7423, allocations: 1.322 MB / 0.7611 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7423, allocations: 10.81 kB / 0.7612 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.7433, allocations: 188.9 kB / 0.7613 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.7448, allocations: 0.873 MB / 0.7622 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.7448, allocations: 56.38 kB / 0.7622 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.745, allocations: 74.12 kB / 0.7623 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/0.7491, allocations: 1.546 MB / 0.7638 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.7491, allocations: 4 kB / 0.7638 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.7492, allocations: 31.44 kB / 0.7639 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.7492, allocations: 16.56 kB / 0.7639 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.7531, allocations: 1.428 MB / 0.7653 GB, free: 8.512 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.005403/0.7586, allocations: 3.673 MB / 0.7689 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.7623, allocations: 1.239 MB / 0.7701 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.7626, allocations: 241.1 kB / 0.7703 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.7627, allocations: 9.281 kB / 0.7703 GB, free: 5.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.7627, allocations: 43.22 kB / 0.7703 GB, free: 5.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.7627, allocations: 0 / 0.7703 GB, free: 5.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.01733/0.78, allocations: 4.798 MB / 0.775 GB, free: 3.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.7801, allocations: 58.34 kB / 0.7751 GB, free: 3.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.7818, allocations: 1.187 MB / 0.7762 GB, free: 2.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.782, allocations: 40.83 kB / 0.7763 GB, free: 2.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.7825, allocations: 0.5075 MB / 0.7768 GB, free: 2.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.7827, allocations: 105.2 kB / 0.7769 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.7827, allocations: 28.8 kB / 0.7769 GB, free: 2.375 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7828, allocations: 323.1 kB / 0.7772 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.7839, allocations: 0.4912 MB / 0.7777 GB, free: 1.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.7854, allocations: 0.8873 MB / 0.7786 GB, free: 1.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.7877, allocations: 0.9789 MB / 0.7795 GB, free: 1.035 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.7877, allocations: 3.938 kB / 0.7795 GB, free: 1.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0117/0.7995, allocations: 3.333 MB / 0.7828 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.7996, allocations: 139.2 kB / 0.7829 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.7996, allocations: 2.844 kB / 0.7829 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.802, allocations: 1.088 MB / 0.784 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.8022, allocations: 51.84 kB / 0.784 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.8254, allocations: 9.536 MB / 0.7933 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.8277, allocations: 331.1 kB / 0.7936 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.8278, allocations: 15.98 kB / 0.7937 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.8278, allocations: 4 kB / 0.7937 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.8291, allocations: 0.5583 MB / 0.7942 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8291, allocations: 4 kB / 0.7942 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/0.8297, allocations: 200.6 kB / 0.7944 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.8299, allocations: 43.95 kB / 0.7945 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.8338, allocations: 3.051 MB / 0.7974 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.8352, allocations: 191.4 kB / 0.7976 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.8352, allocations: 12 kB / 0.7976 GB, free: 1.191 MB / 0.5606 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.0007632/0.836, allocations: 476.8 kB / 0.7981 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.8363, allocations: 110.6 kB / 0.7982 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.8366, allocations: 118.3 kB / 0.7983 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.8366, allocations: 4 kB / 0.7983 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.8366, allocations: 0 / 0.7983 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8366, allocations: 3.984 kB / 0.7983 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.847, allocations: 3.657 MB / 0.8019 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.847, allocations: 8.188 kB / 0.8019 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.8471, allocations: 27.98 kB / 0.8019 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/0.8496, allocations: 1.082 MB / 0.803 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.8496, allocations: 8 kB / 0.803 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/0.8692, allocations: 8.698 MB / 0.8115 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8693, allocations: 0 / 0.8115 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009025/0.8783, allocations: 2.855 MB / 0.8143 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.879, allocations: 267.6 kB / 0.8145 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.8792, allocations: 8 kB / 0.8145 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8803, allocations: 199.6 kB / 0.8147 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.8805, allocations: 35.89 kB / 0.8147 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.8805, allocations: 15.98 kB / 0.8148 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001208/0.8818, allocations: 0.8515 MB / 0.8156 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8818, allocations: 0 / 0.8156 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002036/0.8838, allocations: 0.5929 MB / 0.8162 GB, free: 13.89 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.0004408/0.8843, allocations: 162.9 kB / 0.8163 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.888, allocations: 1.694 MB / 0.818 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.888, allocations: 4 kB / 0.818 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.8896, allocations: 0.7552 MB / 0.8187 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.8925, allocations: 0.5652 MB / 0.8193 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.8964, allocations: 2.569 MB / 0.8218 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/0.8972, allocations: 1.224 MB / 0.823 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009366/0.8982, allocations: 240.2 kB / 0.8232 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.8983, allocations: 63.38 kB / 0.8233 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.8983, allocations: 0 / 0.8233 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of Templates: time 0.0541/0.9524, allocations: 35.58 MB / 0.858 GB, free: 3.172 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: