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.1475/0.1494, allocations: 80.83 MB / 0.5899 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.4865/0.636, allocations: 159.3 MB / 0.7454 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.6388, allocations: 1.576 MB / 0.747 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.6393, allocations: 8.875 kB / 0.747 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007865/0.6401, allocations: 214.3 kB / 0.7472 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.6412, allocations: 393.2 kB / 0.7476 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.6425, allocations: 454.6 kB / 0.748 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.6453, allocations: 2.898 MB / 0.7508 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.6469, allocations: 1.061 MB / 0.7519 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.6497, allocations: 1.213 MB / 0.7531 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.6511, allocations: 0.8607 MB / 0.7539 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.6513, allocations: 90.94 kB / 0.754 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.6526, allocations: 0.5423 MB / 0.7545 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.653, allocations: 421 kB / 0.7549 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008588/0.6539, allocations: 0.6702 MB / 0.7556 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.6562, allocations: 1.685 MB / 0.7572 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.6562, allocations: 0 / 0.7572 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.066e-06/0.6563, allocations: 0 / 0.7572 GB, free: 11.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.6563, allocations: 0 / 0.7572 GB, free: 11.88 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.003136/0.6594, allocations: 1.583 MB / 0.7588 GB, free: 10.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.6595, allocations: 14.22 kB / 0.7588 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.6603, allocations: 182.8 kB / 0.7589 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.6617, allocations: 0.8745 MB / 0.7598 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.6617, allocations: 53.31 kB / 0.7599 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.6619, allocations: 73.31 kB / 0.7599 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.666, allocations: 1.445 MB / 0.7613 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6661, allocations: 0 / 0.7613 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/0.6661, allocations: 28.59 kB / 0.7614 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6662, allocations: 18.75 kB / 0.7614 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003775/0.6699, allocations: 1.311 MB / 0.7627 GB, free: 9.336 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.005733/0.6757, allocations: 3.655 MB / 0.7662 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.6793, allocations: 1.13 MB / 0.7673 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.6797, allocations: 234.1 kB / 0.7676 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.6797, allocations: 11.47 kB / 0.7676 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6798, allocations: 41.34 kB / 0.7676 GB, free: 6.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.6798, allocations: 0 / 0.7676 GB, free: 6.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.01761/0.6974, allocations: 4.276 MB / 0.7718 GB, free: 4.047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.6975, allocations: 54.38 kB / 0.7718 GB, free: 3.984 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.6991, allocations: 1.184 MB / 0.773 GB, free: 3.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.6994, allocations: 43.8 kB / 0.773 GB, free: 3.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.6998, allocations: 0.5156 MB / 0.7735 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.7, allocations: 101.9 kB / 0.7736 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.7002, allocations: 109 kB / 0.7737 GB, free: 3.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.7003, allocations: 326.9 kB / 0.774 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.7014, allocations: 464.9 kB / 0.7745 GB, free: 2.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.7028, allocations: 0.8421 MB / 0.7753 GB, free: 1.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.7047, allocations: 0.8741 MB / 0.7762 GB, free: 1.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7048, allocations: 7.875 kB / 0.7762 GB, free: 1.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01149/0.7163, allocations: 2.958 MB / 0.7791 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7163, allocations: 5 kB / 0.7791 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7163, allocations: 6.25 kB / 0.7791 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.7187, allocations: 1.014 MB / 0.7801 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.7189, allocations: 39.91 kB / 0.7801 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/0.7418, allocations: 9.72 MB / 0.7896 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.7439, allocations: 303 kB / 0.7899 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.7439, allocations: 8.5 kB / 0.7899 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000888/0.7448, allocations: 0.4916 MB / 0.7904 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006566/0.7455, allocations: 0.5267 MB / 0.7909 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000534/0.746, allocations: 372.4 kB / 0.7912 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.7461, allocations: 0 / 0.7912 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.00159/0.7477, allocations: 0.6724 MB / 0.7919 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7477, allocations: 4 kB / 0.7919 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.7477, allocations: 4 kB / 0.7919 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.7482, allocations: 200.8 kB / 0.7921 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.7484, allocations: 43.91 kB / 0.7921 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.7522, allocations: 3.307 MB / 0.7954 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.7538, allocations: 240.1 kB / 0.7956 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.7539, allocations: 11.94 kB / 0.7956 GB, free: 14.91 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.0003203/0.7542, allocations: 202.7 kB / 0.7958 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.7544, allocations: 98.78 kB / 0.7959 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.7547, allocations: 122.3 kB / 0.796 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7547, allocations: 4 kB / 0.796 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7547, allocations: 0 / 0.796 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7547, allocations: 11.88 kB / 0.796 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009636/0.7644, allocations: 3.371 MB / 0.7993 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.7644, allocations: 0 / 0.7993 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.7646, allocations: 32.11 kB / 0.7994 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.7668, allocations: 1.015 MB / 0.8003 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.7669, allocations: 11.98 kB / 0.8004 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.7866, allocations: 8.869 MB / 0.809 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7867, allocations: 3.938 kB / 0.809 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/0.7952, allocations: 2.582 MB / 0.8115 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/0.796, allocations: 251.7 kB / 0.8118 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.7962, allocations: 15.98 kB / 0.8118 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/0.7972, allocations: 167.7 kB / 0.812 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.7974, allocations: 35.91 kB / 0.812 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.7975, allocations: 19.97 kB / 0.812 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001191/0.7987, allocations: 0.8437 MB / 0.8128 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7987, allocations: 0 / 0.8128 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001984/0.8007, allocations: 0.6006 MB / 0.8134 GB, free: 12.37 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.000483/0.8012, allocations: 153.6 kB / 0.8136 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.8049, allocations: 1.587 MB / 0.8151 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.805, allocations: 0 / 0.8151 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.8064, allocations: 0.7121 MB / 0.8158 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.8092, allocations: 0.583 MB / 0.8164 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.8134, allocations: 2.494 MB / 0.8188 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000818/0.8143, allocations: 1.224 MB / 0.82 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001026/0.8153, allocations: 228.2 kB / 0.8202 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.8155, allocations: 63.44 kB / 0.8203 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of SimCode: time 2.024e-06/0.8155, allocations: 0 / 0.8203 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of Templates: time 0.05395/0.8694, allocations: 36.83 MB / 0.8563 GB, free: 0.6758 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)