Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.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.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance") [/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.195/0.1958, allocations: 82.22 MB / 0.5935 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.02667/0.2225, allocations: 23.21 MB / 0.6161 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006886/0.2294, allocations: 4.832 MB / 0.6208 GB, free: 9.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.2301, allocations: 19.88 kB / 0.6209 GB, free: 9.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.231, allocations: 246.4 kB / 0.6211 GB, free: 9.57 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001705/0.2327, allocations: 0.5471 MB / 0.6216 GB, free: 9.023 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.2345, allocations: 0.5654 MB / 0.6222 GB, free: 8.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.2369, allocations: 1.843 MB / 0.624 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.2375, allocations: 407.8 kB / 0.6244 GB, free: 6.223 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.2391, allocations: 0.6573 MB / 0.625 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.2398, allocations: 418.2 kB / 0.6254 GB, free: 5.152 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.2398, allocations: 24 kB / 0.6254 GB, free: 5.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2409, allocations: 463.2 kB / 0.6259 GB, free: 4.676 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.2411, allocations: 107.5 kB / 0.626 GB, free: 4.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.2413, allocations: 141.4 kB / 0.6261 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007448/0.2421, allocations: 0.5923 MB / 0.6267 GB, free: 3.832 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.2421, allocations: 0 / 0.6267 GB, free: 3.832 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2421, allocations: 0 / 0.6267 GB, free: 3.832 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.2421, allocations: 4 kB / 0.6267 GB, free: 3.828 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001362/0.2435, allocations: 0.7906 MB / 0.6275 GB, free: 2.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2435, allocations: 12.02 kB / 0.6275 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.2438, allocations: 79.2 kB / 0.6276 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.2445, allocations: 440.8 kB / 0.628 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.2446, allocations: 62.7 kB / 0.628 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2447, allocations: 40 kB / 0.6281 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.2466, allocations: 0.7288 MB / 0.6288 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2467, allocations: 4 kB / 0.6288 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.2467, allocations: 16 kB / 0.6288 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.2468, allocations: 12 kB / 0.6288 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.2484, allocations: 0.525 MB / 0.6293 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.251, allocations: 2.809 MB / 0.6321 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.2525, allocations: 407.4 kB / 0.6325 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.2526, allocations: 70.59 kB / 0.6325 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.2527, allocations: 8.062 kB / 0.6325 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2527, allocations: 42.5 kB / 0.6326 GB, free: 13.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.2527, allocations: 0 / 0.6326 GB, free: 13.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.002842/0.2556, allocations: 0.7193 MB / 0.6333 GB, free: 12.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2557, allocations: 158.2 kB / 0.6334 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.2562, allocations: 494.8 kB / 0.6339 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.2563, allocations: 29.7 kB / 0.6339 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.2565, allocations: 303.5 kB / 0.6342 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.2566, allocations: 39.53 kB / 0.6343 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.2566, allocations: 4 kB / 0.6343 GB, free: 11.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2567, allocations: 354.8 kB / 0.6346 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.2572, allocations: 159.7 kB / 0.6348 GB, free: 11.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.2578, allocations: 323.1 kB / 0.6351 GB, free: 10.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.2583, allocations: 179.8 kB / 0.6352 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2583, allocations: 0 / 0.6352 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001095/0.2594, allocations: 457 kB / 0.6357 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.2596, allocations: 180.2 kB / 0.6358 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2596, allocations: 4 kB / 0.6358 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2596, allocations: 7.953 kB / 0.6359 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.26, allocations: 99.86 kB / 0.6359 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2601, allocations: 7.938 kB / 0.636 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.2608, allocations: 131.5 kB / 0.6361 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.2608, allocations: 11.98 kB / 0.6361 GB, free: 9.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.2608, allocations: 4 kB / 0.6361 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003501/0.2612, allocations: 188 kB / 0.6363 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2612, allocations: 4 kB / 0.6363 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.71e-06/0.2612, allocations: 4.406 kB / 0.6363 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2614, allocations: 59.91 kB / 0.6363 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2614, allocations: 8.062 kB / 0.6363 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.2618, allocations: 79.67 kB / 0.6364 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2618, allocations: 11.94 kB / 0.6364 GB, free: 9.195 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.2621, allocations: 256.9 kB / 0.6367 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.2622, allocations: 47.44 kB / 0.6367 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.2623, allocations: 47.91 kB / 0.6368 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2623, allocations: 4 kB / 0.6368 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.2624, allocations: 4 kB / 0.6368 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.2624, allocations: 4 kB / 0.6368 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.2632, allocations: 0.6397 MB / 0.6374 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2632, allocations: 0 / 0.6374 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.2635, allocations: 71.98 kB / 0.6375 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2635, allocations: 0 / 0.6375 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2636, allocations: 8 kB / 0.6375 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2636, allocations: 0 / 0.6375 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2636, allocations: 7.938 kB / 0.6375 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2646, allocations: 488.3 kB / 0.638 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2647, allocations: 116.5 kB / 0.6381 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.2648, allocations: 8 kB / 0.6381 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.2653, allocations: 87.84 kB / 0.6382 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.2654, allocations: 7.984 kB / 0.6382 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2654, allocations: 15.98 kB / 0.6382 GB, free: 7.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.2658, allocations: 334.9 kB / 0.6385 GB, free: 6.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2658, allocations: 0 / 0.6385 GB, free: 6.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007716/0.2666, allocations: 239.3 kB / 0.6387 GB, free: 6.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004717/0.267, allocations: 166.2 kB / 0.6389 GB, free: 6.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.2684, allocations: 444.1 kB / 0.6393 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2684, allocations: 0 / 0.6393 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.2688, allocations: 168.8 kB / 0.6395 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.2701, allocations: 248.4 kB / 0.6397 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.2718, allocations: 0.9942 MB / 0.6407 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.2722, allocations: 0.8389 MB / 0.6415 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004476/0.2726, allocations: 103 kB / 0.6416 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2728, allocations: 39.42 kB / 0.6416 GB, free: 3.695 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2728, allocations: 0 / 0.6416 GB, free: 3.695 MB / 494.1 MB Notification: Performance of Templates: time 0.01619/0.289, allocations: 8.817 MB / 0.6502 GB, free: 11.01 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe 2>&1) Environment - environmentSimulation: