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.1792/0.1816, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.6057/0.7872, allocations: 161.5 MB / 0.8283 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.7903, allocations: 1.58 MB / 0.8299 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.7905, allocations: 15.22 kB / 0.8299 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.7914, allocations: 245.6 kB / 0.8301 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009819/0.7924, allocations: 410 kB / 0.8305 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.7935, allocations: 496.8 kB / 0.831 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.7964, allocations: 2.882 MB / 0.8338 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7978, allocations: 1.088 MB / 0.8349 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.7997, allocations: 1.203 MB / 0.836 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.8006, allocations: 0.8064 MB / 0.8368 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.8007, allocations: 88.59 kB / 0.8369 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.8017, allocations: 0.5365 MB / 0.8374 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.8023, allocations: 425.6 kB / 0.8379 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007345/0.803, allocations: 0.6682 MB / 0.8385 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.8047, allocations: 1.689 MB / 0.8402 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8047, allocations: 3.984 kB / 0.8402 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8047, allocations: 2.938 kB / 0.8402 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.8047, allocations: 0 / 0.8402 GB, free: 8.277 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002523/0.8072, allocations: 1.574 MB / 0.8417 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.8073, allocations: 10.28 kB / 0.8417 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007964/0.8081, allocations: 184 kB / 0.8419 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.8097, allocations: 0.941 MB / 0.8428 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.8098, allocations: 55.06 kB / 0.8429 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.8099, allocations: 73.25 kB / 0.8429 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.8138, allocations: 1.439 MB / 0.8443 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.8138, allocations: 0 / 0.8443 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.8139, allocations: 25.38 kB / 0.8444 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.8139, allocations: 19.09 kB / 0.8444 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.8176, allocations: 1.31 MB / 0.8457 GB, free: 4.906 MB / 0.6075 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.00472/0.8224, allocations: 3.662 MB / 0.8492 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.8259, allocations: 1.148 MB / 0.8503 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.8263, allocations: 232.6 kB / 0.8506 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.8263, allocations: 12.23 kB / 0.8506 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.8264, allocations: 37.66 kB / 0.8506 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.8264, allocations: 0 / 0.8506 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29): time 0.01723/0.8436, allocations: 4.28 MB / 0.8548 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.8437, allocations: 55.41 kB / 0.8549 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.8454, allocations: 1.191 MB / 0.856 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.8456, allocations: 41.7 kB / 0.8561 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.8461, allocations: 0.5012 MB / 0.8565 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.8462, allocations: 102.5 kB / 0.8566 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.8465, allocations: 114.6 kB / 0.8567 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8466, allocations: 318 kB / 0.8571 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.8477, allocations: 464.1 kB / 0.8575 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.8492, allocations: 0.8349 MB / 0.8583 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.8514, allocations: 0.8891 MB / 0.8592 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8514, allocations: 0 / 0.8592 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01096/0.8624, allocations: 2.967 MB / 0.8621 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.8624, allocations: 4.625 kB / 0.8621 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8624, allocations: 4 kB / 0.8621 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/0.865, allocations: 1.011 MB / 0.8631 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.8652, allocations: 35.97 kB / 0.8631 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.8879, allocations: 9.617 MB / 0.8725 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.8897, allocations: 259.2 kB / 0.8727 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.8897, allocations: 19.98 kB / 0.8728 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009461/0.8907, allocations: 487.8 kB / 0.8732 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000743/0.8914, allocations: 0.5392 MB / 0.8738 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005729/0.892, allocations: 366.2 kB / 0.8741 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.892, allocations: 0 / 0.8741 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001509/0.8935, allocations: 0.676 MB / 0.8748 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.8935, allocations: 8.719 kB / 0.8748 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.8936, allocations: 4 kB / 0.8748 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.8941, allocations: 200.8 kB / 0.875 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.8943, allocations: 43.91 kB / 0.875 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.8979, allocations: 3.307 MB / 0.8782 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.8994, allocations: 204.2 kB / 0.8784 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.8994, allocations: 8 kB / 0.8784 GB, free: 4.133 MB / 0.6387 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.0002395/0.8996, allocations: 212.1 kB / 0.8786 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8999, allocations: 110.6 kB / 0.8787 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.9001, allocations: 122.3 kB / 0.8789 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9002, allocations: 4 kB / 0.8789 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.9002, allocations: 0 / 0.8789 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9002, allocations: 3.938 kB / 0.8789 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009473/0.9097, allocations: 3.371 MB / 0.8822 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.9097, allocations: 8.031 kB / 0.8822 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.9098, allocations: 23.98 kB / 0.8822 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.9121, allocations: 1.011 MB / 0.8832 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.9121, allocations: 8 kB / 0.8832 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/0.9322, allocations: 8.874 MB / 0.8919 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9322, allocations: 4.031 kB / 0.8919 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008503/0.9407, allocations: 2.561 MB / 0.8944 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.9415, allocations: 259.7 kB / 0.8946 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.9417, allocations: 4 kB / 0.8946 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009942/0.9427, allocations: 143.7 kB / 0.8948 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.9429, allocations: 39.75 kB / 0.8948 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.943, allocations: 19.98 kB / 0.8948 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00124/0.9442, allocations: 0.8436 MB / 0.8956 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9442, allocations: 0 / 0.8956 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001843/0.9461, allocations: 0.5851 MB / 0.8962 GB, free: 1.621 MB / 0.6544 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.000398/0.9465, allocations: 156.5 kB / 0.8964 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003614/0.9501, allocations: 1.595 MB / 0.8979 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9501, allocations: 8.25 kB / 0.8979 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.9516, allocations: 0.7079 MB / 0.8986 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.9541, allocations: 0.5583 MB / 0.8992 GB, free: 14.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.9579, allocations: 2.165 MB / 0.9013 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/0.9587, allocations: 1.216 MB / 0.9025 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008063/0.9596, allocations: 240.2 kB / 0.9027 GB, free: 10.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.9597, allocations: 63.44 kB / 0.9027 GB, free: 10.78 MB / 0.67 GB Notification: Performance of SimCode: time 2.91e-07/0.9597, allocations: 4 kB / 0.9027 GB, free: 10.78 MB / 0.67 GB Notification: Performance of Templates: time 0.05795/1.018, allocations: 37.97 MB / 0.9398 GB, free: 4.992 MB / 0.7012 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)