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.2013/0.2053, allocations: 80.84 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries): time 0.6337/0.839, allocations: 161.5 MB / 0.8283 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.8424, allocations: 1.586 MB / 0.8299 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.8429, allocations: 11.97 kB / 0.8299 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.8438, allocations: 246.8 kB / 0.8301 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.845, allocations: 408.6 kB / 0.8305 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.8465, allocations: 495.8 kB / 0.831 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003233/0.8498, allocations: 2.876 MB / 0.8338 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.8512, allocations: 1.099 MB / 0.8349 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.8541, allocations: 1.19 MB / 0.836 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.8555, allocations: 0.809 MB / 0.8368 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.8557, allocations: 87.97 kB / 0.8369 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.8572, allocations: 0.5327 MB / 0.8374 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005137/0.8578, allocations: 425.4 kB / 0.8378 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009899/0.8588, allocations: 0.6685 MB / 0.8385 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.8608, allocations: 1.7 MB / 0.8402 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.8609, allocations: 4 kB / 0.8402 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8609, allocations: 4 kB / 0.8402 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.8609, allocations: 0 / 0.8402 GB, free: 8.324 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.003109/0.864, allocations: 1.617 MB / 0.8417 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.8641, allocations: 7.469 kB / 0.8418 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/0.8649, allocations: 189.1 kB / 0.8419 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.8665, allocations: 0.9456 MB / 0.8429 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.8666, allocations: 51.94 kB / 0.8429 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.8667, allocations: 76.81 kB / 0.843 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/0.8708, allocations: 1.447 MB / 0.8444 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.8709, allocations: 0 / 0.8444 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.871, allocations: 25.53 kB / 0.8444 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.871, allocations: 17.03 kB / 0.8444 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/0.8747, allocations: 1.312 MB / 0.8457 GB, free: 4.898 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.005104/0.8798, allocations: 3.674 MB / 0.8493 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.8835, allocations: 1.137 MB / 0.8504 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.8838, allocations: 232.4 kB / 0.8506 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.8839, allocations: 9.016 kB / 0.8506 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.8839, allocations: 40.47 kB / 0.8507 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=29): time 2.365e-06/0.884, allocations: 4 kB / 0.8507 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29): time 0.01711/0.9011, allocations: 4.282 MB / 0.8549 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.9012, allocations: 59.39 kB / 0.8549 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.9031, allocations: 1.183 MB / 0.8561 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.9034, allocations: 37.7 kB / 0.8561 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005424/0.904, allocations: 0.5056 MB / 0.8566 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.9041, allocations: 107.1 kB / 0.8567 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.9044, allocations: 118.5 kB / 0.8568 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9046, allocations: 314 kB / 0.8571 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.9057, allocations: 468.1 kB / 0.8576 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.9072, allocations: 0.8349 MB / 0.8584 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.9094, allocations: 0.8813 MB / 0.8592 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.9094, allocations: 11.61 kB / 0.8593 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01136/0.9208, allocations: 2.97 MB / 0.8622 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.9208, allocations: 8.625 kB / 0.8622 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.9209, allocations: 0 / 0.8622 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.9234, allocations: 1.011 MB / 0.8632 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.9236, allocations: 43.92 kB / 0.8632 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/0.9487, allocations: 9.607 MB / 0.8726 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.9509, allocations: 271.2 kB / 0.8728 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.951, allocations: 20.05 kB / 0.8729 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/0.9523, allocations: 495.8 kB / 0.8733 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009425/0.9532, allocations: 0.5353 MB / 0.8738 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006792/0.9539, allocations: 366.2 kB / 0.8742 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.954, allocations: 0 / 0.8742 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001905/0.9559, allocations: 0.6805 MB / 0.8749 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9559, allocations: 8.781 kB / 0.8749 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9559, allocations: 4.125 kB / 0.8749 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.9566, allocations: 204.6 kB / 0.8751 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.9568, allocations: 35.92 kB / 0.8751 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004818/0.9616, allocations: 3.311 MB / 0.8783 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.9639, allocations: 204.1 kB / 0.8785 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.964, allocations: 8 kB / 0.8785 GB, free: 4.078 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.0006473/0.9646, allocations: 216.1 kB / 0.8787 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006252/0.9652, allocations: 107.5 kB / 0.8788 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.9658, allocations: 118.3 kB / 0.879 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.9658, allocations: 8 kB / 0.879 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9659, allocations: 0 / 0.879 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.9659, allocations: 3.938 kB / 0.879 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.9771, allocations: 3.394 MB / 0.8823 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.9772, allocations: 0 / 0.8823 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.9774, allocations: 23.98 kB / 0.8823 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.9797, allocations: 0.9999 MB / 0.8833 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.9798, allocations: 11.98 kB / 0.8833 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/1, allocations: 8.89 MB / 0.892 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1, allocations: 4.031 kB / 0.892 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0087/1.009, allocations: 2.562 MB / 0.8945 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/1.01, allocations: 264.3 kB / 0.8947 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.01, allocations: 11.98 kB / 0.8947 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.011, allocations: 135.8 kB / 0.8949 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.012, allocations: 35.7 kB / 0.8949 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.012, allocations: 23.97 kB / 0.8949 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001585/1.013, allocations: 0.8475 MB / 0.8958 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/1.013, allocations: 4 kB / 0.8958 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002308/1.016, allocations: 0.5775 MB / 0.8963 GB, free: 1.539 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.0004963/1.016, allocations: 139.9 kB / 0.8965 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00381/1.02, allocations: 1.607 MB / 0.898 GB, free: 15.76 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/1.02, allocations: 3.938 kB / 0.898 GB, free: 15.76 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/1.022, allocations: 0.7158 MB / 0.8987 GB, free: 15.03 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/1.025, allocations: 0.5581 MB / 0.8993 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/1.029, allocations: 2.186 MB / 0.9014 GB, free: 12.22 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.031, allocations: 1.228 MB / 0.9026 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009922/1.032, allocations: 232.2 kB / 0.9028 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/1.032, allocations: 67.42 kB / 0.9029 GB, free: 10.67 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/1.032, allocations: 0 / 0.9029 GB, free: 10.67 MB / 0.67 GB Notification: Performance of Templates: time 0.06048/1.092, allocations: 37.16 MB / 0.9392 GB, free: 5.695 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)