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.1733/0.1741, allocations: 82.22 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.4993/0.6734, allocations: 135.6 MB / 0.7258 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.676, allocations: 1.495 MB / 0.7273 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.6763, allocations: 14.39 kB / 0.7273 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.6769, allocations: 179.8 kB / 0.7274 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.6779, allocations: 385.1 kB / 0.7278 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.679, allocations: 408.2 kB / 0.7282 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.681, allocations: 1.631 MB / 0.7298 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.6822, allocations: 0.8426 MB / 0.7306 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.684, allocations: 0.8811 MB / 0.7315 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.6848, allocations: 0.5367 MB / 0.732 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.685, allocations: 47.62 kB / 0.732 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.6859, allocations: 267.5 kB / 0.7323 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.6863, allocations: 343.5 kB / 0.7326 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.6867, allocations: 264 kB / 0.7329 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.6878, allocations: 1.187 MB / 0.734 GB, free: 15.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.6878, allocations: 0 / 0.734 GB, free: 15.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6879, allocations: 3.938 kB / 0.734 GB, free: 15.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.6879, allocations: 0.9375 kB / 0.734 GB, free: 15.39 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.00229/0.6902, allocations: 1.324 MB / 0.7353 GB, free: 14.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6902, allocations: 10.34 kB / 0.7353 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007705/0.691, allocations: 183.8 kB / 0.7355 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.6926, allocations: 0.8352 MB / 0.7363 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.6927, allocations: 58.23 kB / 0.7364 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.6928, allocations: 76.19 kB / 0.7365 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/0.6969, allocations: 1.537 MB / 0.738 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.6969, allocations: 0 / 0.738 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.697, allocations: 24.97 kB / 0.738 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.6971, allocations: 18.28 kB / 0.738 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.701, allocations: 1.425 MB / 0.7394 GB, free: 13.22 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.004962/0.7059, allocations: 3.665 MB / 0.743 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/0.7094, allocations: 1.241 MB / 0.7442 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.7095, allocations: 8.859 kB / 0.7442 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.7095, allocations: 40.11 kB / 0.7442 GB, free: 9.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.7095, allocations: 6.469 kB / 0.7442 GB, free: 9.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.01703/0.7266, allocations: 4.762 MB / 0.7489 GB, free: 7.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.7267, allocations: 54.5 kB / 0.7489 GB, free: 7.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.7286, allocations: 1.178 MB / 0.7501 GB, free: 7.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/0.7289, allocations: 45.05 kB / 0.7501 GB, free: 7.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.7293, allocations: 0.5105 MB / 0.7506 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.7294, allocations: 100.3 kB / 0.7507 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.7295, allocations: 6.25 kB / 0.7507 GB, free: 7.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7296, allocations: 317.9 kB / 0.751 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.7307, allocations: 0.4953 MB / 0.7515 GB, free: 6.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.7323, allocations: 0.8802 MB / 0.7524 GB, free: 6.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.7333, allocations: 0.506 MB / 0.7529 GB, free: 6.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7333, allocations: 5.906 kB / 0.7529 GB, free: 6.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01161/0.745, allocations: 3.333 MB / 0.7561 GB, free: 4.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004892/0.7455, allocations: 0.6261 MB / 0.7568 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7455, allocations: 2.812 kB / 0.7568 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.748, allocations: 1.099 MB / 0.7578 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.7482, allocations: 37.05 kB / 0.7579 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.7707, allocations: 10.11 MB / 0.7677 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.7727, allocations: 334.2 kB / 0.7681 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.7727, allocations: 9.938 kB / 0.7681 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.7728, allocations: 6.531 kB / 0.7681 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/0.7738, allocations: 0.5568 MB / 0.7686 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7738, allocations: 0 / 0.7686 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.7743, allocations: 206.1 kB / 0.7688 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.7745, allocations: 42.64 kB / 0.7689 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.7779, allocations: 3.107 MB / 0.7719 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.7793, allocations: 193.2 kB / 0.7721 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.7793, allocations: 10.28 kB / 0.7721 GB, free: 12.75 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 (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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008327/0.7801, allocations: 469 kB / 0.7725 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.7803, allocations: 110.2 kB / 0.7726 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.7806, allocations: 122.1 kB / 0.7728 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7806, allocations: 2.812 kB / 0.7728 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.7806, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.7806, allocations: 6.953 kB / 0.7728 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009647/0.7903, allocations: 3.671 MB / 0.7763 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.7903, allocations: 0 / 0.7763 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.7905, allocations: 33.97 kB / 0.7764 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.7929, allocations: 1.101 MB / 0.7775 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.793, allocations: 7.188 kB / 0.7775 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.813, allocations: 9.218 MB / 0.7865 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.8131, allocations: 11.92 kB / 0.7865 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00858/0.8216, allocations: 2.914 MB / 0.7893 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/0.8225, allocations: 262.3 kB / 0.7896 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.8226, allocations: 18.06 kB / 0.7896 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8237, allocations: 194.4 kB / 0.7898 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.8239, allocations: 27.45 kB / 0.7898 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.8239, allocations: 20.92 kB / 0.7898 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001236/0.8252, allocations: 0.8408 MB / 0.7906 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8252, allocations: 0 / 0.7906 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00188/0.8271, allocations: 0.5956 MB / 0.7912 GB, free: 12.29 MB / 0.5762 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 (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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003748/0.8275, allocations: 140.1 kB / 0.7914 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003534/0.831, allocations: 1.698 MB / 0.793 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.831, allocations: 4 kB / 0.793 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.8325, allocations: 0.7466 MB / 0.7937 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.8352, allocations: 0.5725 MB / 0.7943 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.839, allocations: 2.471 MB / 0.7967 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.8398, allocations: 1.243 MB / 0.7979 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001033/0.8408, allocations: 244.2 kB / 0.7982 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.841, allocations: 62.69 kB / 0.7982 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.841, allocations: 0 / 0.7982 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of Templates: time 0.04831/0.8893, allocations: 34.69 MB / 0.8321 GB, free: 3.281 MB / 0.6075 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: