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.5186/0.5215, allocations: 80.81 MB / 0.5904 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.02129/0.5429, allocations: 25.23 MB / 0.615 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.5513, allocations: 5.178 MB / 0.6201 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009209/0.5523, allocations: 19.88 kB / 0.6201 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.5535, allocations: 345.8 kB / 0.6204 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.5553, allocations: 0.6357 MB / 0.6211 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.5573, allocations: 0.6507 MB / 0.6217 GB, free: 6.703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.5593, allocations: 1.508 MB / 0.6232 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.56, allocations: 0.5178 MB / 0.6237 GB, free: 4.668 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.5616, allocations: 0.7743 MB / 0.6244 GB, free: 3.891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.5622, allocations: 442 kB / 0.6249 GB, free: 3.457 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.5623, allocations: 48 kB / 0.6249 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.5633, allocations: 0.4915 MB / 0.6254 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.5635, allocations: 143.4 kB / 0.6255 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.5638, allocations: 310.5 kB / 0.6258 GB, free: 2.473 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.5649, allocations: 0.8372 MB / 0.6266 GB, free: 1.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5649, allocations: 7.938 kB / 0.6266 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.565, allocations: 0 / 0.6266 GB, free: 1.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.565, allocations: 0 / 0.6266 GB, free: 1.625 MB / 462.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.001427/0.5664, allocations: 0.8959 MB / 0.6275 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5665, allocations: 12.03 kB / 0.6275 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.5668, allocations: 72.17 kB / 0.6276 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.5674, allocations: 461.7 kB / 0.628 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.5675, allocations: 63.02 kB / 0.6281 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.5676, allocations: 40 kB / 0.6281 GB, free: 0 / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.5698, allocations: 0.6898 MB / 0.6288 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5698, allocations: 7.875 kB / 0.6288 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.5698, allocations: 16 kB / 0.6288 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.5699, allocations: 12 kB / 0.6288 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.5717, allocations: 0.4898 MB / 0.6293 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.5745, allocations: 2.825 MB / 0.6321 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.576, allocations: 355.5 kB / 0.6324 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.5762, allocations: 74.52 kB / 0.6325 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.5763, allocations: 8.062 kB / 0.6325 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.5763, allocations: 34.56 kB / 0.6325 GB, free: 11.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.5763, allocations: 0 / 0.6325 GB, free: 11.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.003114/0.5794, allocations: 0.6335 MB / 0.6332 GB, free: 10.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.5796, allocations: 166.1 kB / 0.6333 GB, free: 10.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.5803, allocations: 490.8 kB / 0.6338 GB, free: 9.816 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.5804, allocations: 25.7 kB / 0.6338 GB, free: 9.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.5807, allocations: 311.5 kB / 0.6341 GB, free: 9.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.5807, allocations: 39.53 kB / 0.6341 GB, free: 9.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.5809, allocations: 57.69 kB / 0.6342 GB, free: 9.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.5811, allocations: 358.8 kB / 0.6345 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.5816, allocations: 140.6 kB / 0.6347 GB, free: 8.875 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.5824, allocations: 312.9 kB / 0.635 GB, free: 8.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.5834, allocations: 355.6 kB / 0.6353 GB, free: 8.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5834, allocations: 0 / 0.6353 GB, free: 8.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001194/0.5846, allocations: 420.9 kB / 0.6357 GB, free: 7.688 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5847, allocations: 4 kB / 0.6357 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5847, allocations: 4 kB / 0.6357 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5847, allocations: 4 kB / 0.6357 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.5852, allocations: 91.8 kB / 0.6358 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.5852, allocations: 7.938 kB / 0.6358 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.5859, allocations: 99.66 kB / 0.6359 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.5859, allocations: 11.94 kB / 0.6359 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002888/0.5862, allocations: 184.1 kB / 0.6361 GB, free: 7.285 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002976/0.5865, allocations: 217.4 kB / 0.6363 GB, free: 6.996 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003355/0.5868, allocations: 215.7 kB / 0.6365 GB, free: 6.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.5868, allocations: 0 / 0.6365 GB, free: 6.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004483/0.5873, allocations: 253.1 kB / 0.6368 GB, free: 6.488 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.5873, allocations: 8 kB / 0.6368 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5873, allocations: 8.453 kB / 0.6368 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.5873, allocations: 4 kB / 0.6368 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5875, allocations: 51.91 kB / 0.6368 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/0.5875, allocations: 7.938 kB / 0.6368 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.588, allocations: 59.72 kB / 0.6369 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.588, allocations: 8 kB / 0.6369 GB, free: 6.344 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.5882, allocations: 197.1 kB / 0.6371 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5883, allocations: 47.44 kB / 0.6371 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.482e-05/0.5884, allocations: 47.84 kB / 0.6372 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5884, allocations: 7.938 kB / 0.6372 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.5884, allocations: 4 kB / 0.6372 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5884, allocations: 0 / 0.6372 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.5892, allocations: 0.6398 MB / 0.6378 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5892, allocations: 4 kB / 0.6378 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.5896, allocations: 63.86 kB / 0.6379 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5896, allocations: 0 / 0.6379 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.5896, allocations: 8 kB / 0.6379 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5896, allocations: 0 / 0.6379 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5897, allocations: 3.984 kB / 0.6379 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5908, allocations: 440.4 kB / 0.6383 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5909, allocations: 120.5 kB / 0.6384 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.591, allocations: 0 / 0.6384 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.5915, allocations: 59.94 kB / 0.6385 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5916, allocations: 7.984 kB / 0.6385 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.5916, allocations: 11.92 kB / 0.6385 GB, free: 4.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004011/0.592, allocations: 342.9 kB / 0.6388 GB, free: 4.258 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.592, allocations: 0 / 0.6388 GB, free: 4.258 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008067/0.5928, allocations: 247.4 kB / 0.6391 GB, free: 4.016 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004494/0.5933, allocations: 169.2 kB / 0.6392 GB, free: 3.848 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.5946, allocations: 400.1 kB / 0.6396 GB, free: 3.457 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5947, allocations: 4 kB / 0.6396 GB, free: 3.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.5952, allocations: 140.8 kB / 0.6397 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5962, allocations: 202.4 kB / 0.6399 GB, free: 3.129 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.5979, allocations: 0.836 MB / 0.6407 GB, free: 2.258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.5985, allocations: 0.8425 MB / 0.6416 GB, free: 1.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.599, allocations: 96.2 kB / 0.6417 GB, free: 1.289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5991, allocations: 43.42 kB / 0.6417 GB, free: 1.246 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5991, allocations: 0 / 0.6417 GB, free: 1.246 MB / 478.1 MB Notification: Performance of Templates: time 0.01771/0.6168, allocations: 9.237 MB / 0.6507 GB, free: 8.145 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile (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)