Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.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.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") [/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.1517/0.1524, allocations: 82.22 MB / 0.5941 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit): time 0.5732/0.7256, allocations: 236.5 MB / 0.8251 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.742, allocations: 13.28 MB / 0.8381 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.7436, allocations: 51.62 kB / 0.8381 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.7465, allocations: 1.096 MB / 0.8392 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.7518, allocations: 2.055 MB / 0.8412 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.756, allocations: 1.685 MB / 0.8428 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007414/0.7634, allocations: 6.392 MB / 0.8491 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.7652, allocations: 1.192 MB / 0.8502 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01083/0.776, allocations: 4.048 MB / 0.8542 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.7787, allocations: 1.327 MB / 0.8555 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.779, allocations: 76 kB / 0.8556 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.7815, allocations: 1.115 MB / 0.8566 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000714/0.7822, allocations: 0.6503 MB / 0.8573 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.7834, allocations: 0.9814 MB / 0.8582 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.7864, allocations: 2.514 MB / 0.8607 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7864, allocations: 4 kB / 0.8607 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7864, allocations: 3.938 kB / 0.8607 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.7864, allocations: 0 / 0.8607 GB, free: 0.9805 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003157/0.7896, allocations: 1.742 MB / 0.8624 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7896, allocations: 8.031 kB / 0.8624 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.7906, allocations: 269.5 kB / 0.8627 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.7921, allocations: 0.9947 MB / 0.8636 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.7923, allocations: 165.8 kB / 0.8638 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.7925, allocations: 132 kB / 0.8639 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/0.7974, allocations: 1.876 MB / 0.8658 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.7975, allocations: 4 kB / 0.8658 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.7976, allocations: 55.94 kB / 0.8658 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.7977, allocations: 35.98 kB / 0.8658 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/0.8019, allocations: 1.465 MB / 0.8673 GB, free: 10.08 MB / 0.6231 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.006637/0.8086, allocations: 5.092 MB / 0.8722 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.8119, allocations: 0.8845 MB / 0.8731 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.8123, allocations: 247.9 kB / 0.8733 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.8123, allocations: 15.97 kB / 0.8734 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.8124, allocations: 46.56 kB / 0.8734 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 2.284e-06/0.8124, allocations: 3.938 kB / 0.8734 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.01083/0.8232, allocations: 2.586 MB / 0.8759 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.8233, allocations: 81.11 kB / 0.876 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.8253, allocations: 1.594 MB / 0.8776 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.8255, allocations: 49.7 kB / 0.8776 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006086/0.8261, allocations: 0.733 MB / 0.8783 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.8262, allocations: 157.7 kB / 0.8785 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.8263, allocations: 65.62 kB / 0.8785 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8265, allocations: 333.9 kB / 0.8789 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.8275, allocations: 381 kB / 0.8792 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.829, allocations: 0.7574 MB / 0.88 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.8313, allocations: 0.9666 MB / 0.8809 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.8313, allocations: 0 / 0.8809 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006609/0.8379, allocations: 1.82 MB / 0.8827 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.8381, allocations: 294.6 kB / 0.883 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.8382, allocations: 8 kB / 0.883 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.8393, allocations: 309.5 kB / 0.8833 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005664/0.8449, allocations: 1.038 MB / 0.8843 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.8654, allocations: 8.576 MB / 0.8927 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.8677, allocations: 302.3 kB / 0.893 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.8679, allocations: 31.98 kB / 0.893 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.868, allocations: 4 kB / 0.893 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001392/0.8693, allocations: 0.6451 MB / 0.8936 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.8694, allocations: 8 kB / 0.8936 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.8696, allocations: 82.27 kB / 0.8937 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/0.8706, allocations: 207.8 kB / 0.8939 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.873, allocations: 3.001 MB / 0.8968 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.8746, allocations: 206.5 kB / 0.897 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/0.8747, allocations: 28 kB / 0.8971 GB, free: 9.848 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008657/0.8755, allocations: 424.8 kB / 0.8975 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.876, allocations: 169.9 kB / 0.8976 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.8764, allocations: 162.8 kB / 0.8978 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8764, allocations: 8 kB / 0.8978 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8764, allocations: 7.875 kB / 0.8978 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.8764, allocations: 7.984 kB / 0.8978 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.8882, allocations: 3.826 MB / 0.9015 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.8882, allocations: 7.938 kB / 0.9015 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004905/0.8932, allocations: 0.9053 MB / 0.9024 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009647/0.8941, allocations: 309.5 kB / 0.9027 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.8942, allocations: 19.98 kB / 0.9027 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.9111, allocations: 8.289 MB / 0.9108 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.9111, allocations: 8 kB / 0.9108 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005618/0.9167, allocations: 1.78 MB / 0.9126 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.9181, allocations: 366.8 kB / 0.9129 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005929/0.9187, allocations: 23.94 kB / 0.913 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/0.9209, allocations: 183.7 kB / 0.9131 GB, free: 8.539 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.9211, allocations: 59.75 kB / 0.9132 GB, free: 8.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/0.9214, allocations: 60.08 kB / 0.9132 GB, free: 8.422 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002129/0.9235, allocations: 1.094 MB / 0.9143 GB, free: 7.336 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9235, allocations: 0 / 0.9143 GB, free: 7.336 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003548/0.9271, allocations: 0.7256 MB / 0.915 GB, free: 6.609 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006327/0.9277, allocations: 230.8 kB / 0.9152 GB, free: 6.387 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00996/0.9377, allocations: 2.644 MB / 0.9178 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/0.9378, allocations: 4.562 kB / 0.9178 GB, free: 3.688 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/0.9479, allocations: 2.091 MB / 0.9199 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007423/0.9554, allocations: 1.023 MB / 0.9209 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.9608, allocations: 3.068 MB / 0.9239 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.9621, allocations: 1.27 MB / 0.9251 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002139/0.9642, allocations: 354.2 kB / 0.9254 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.9646, allocations: 119.4 kB / 0.9256 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.9646, allocations: 0 / 0.9256 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.06722/1.032, allocations: 40.29 MB / 0.9649 GB, free: 3.672 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe 2>&1) Environment - environmentSimulation: