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.2194/0.2214, allocations: 80.83 MB / 0.6706 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.03237/0.2538, allocations: 25.21 MB / 0.6952 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008252/0.2621, allocations: 5.198 MB / 0.7003 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.2632, allocations: 23.81 kB / 0.7003 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.2645, allocations: 341.8 kB / 0.7007 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2669, allocations: 0.6216 MB / 0.7013 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2688, allocations: 0.6594 MB / 0.7019 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002374/0.2712, allocations: 1.515 MB / 0.7034 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.2722, allocations: 0.5257 MB / 0.7039 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.2741, allocations: 0.7742 MB / 0.7047 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008494/0.2749, allocations: 446 kB / 0.7051 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2751, allocations: 44 kB / 0.7051 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2762, allocations: 499.3 kB / 0.7056 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.2763, allocations: 131.5 kB / 0.7057 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.2767, allocations: 334.3 kB / 0.706 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2778, allocations: 0.8484 MB / 0.7069 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2778, allocations: 0 / 0.7069 GB, free: 12.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2778, allocations: 0 / 0.7069 GB, free: 12.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.2778, allocations: 0 / 0.7069 GB, free: 12.71 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001312/0.2791, allocations: 0.9185 MB / 0.7078 GB, free: 11.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2792, allocations: 12.03 kB / 0.7078 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.2795, allocations: 76.52 kB / 0.7079 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.2803, allocations: 490 kB / 0.7083 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.2804, allocations: 62.83 kB / 0.7084 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.2804, allocations: 44 kB / 0.7084 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.2825, allocations: 0.6968 MB / 0.7091 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2825, allocations: 0 / 0.7091 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.2826, allocations: 20 kB / 0.7091 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.2826, allocations: 8 kB / 0.7091 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.2843, allocations: 493.6 kB / 0.7096 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.287, allocations: 2.829 MB / 0.7124 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.2885, allocations: 355.5 kB / 0.7127 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.2886, allocations: 62.59 kB / 0.7128 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.2887, allocations: 11.98 kB / 0.7128 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2887, allocations: 34.56 kB / 0.7128 GB, free: 6.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.2887, allocations: 0 / 0.7128 GB, free: 6.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.002979/0.2917, allocations: 0.6454 MB / 0.7134 GB, free: 5.531 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.2918, allocations: 154.2 kB / 0.7136 GB, free: 5.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.2924, allocations: 486.9 kB / 0.7141 GB, free: 4.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.2924, allocations: 29.7 kB / 0.7141 GB, free: 4.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.2926, allocations: 312.1 kB / 0.7144 GB, free: 4.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.2927, allocations: 43.62 kB / 0.7144 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2928, allocations: 57.69 kB / 0.7145 GB, free: 4.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2929, allocations: 350.8 kB / 0.7148 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.2935, allocations: 148.6 kB / 0.715 GB, free: 3.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.2941, allocations: 309.2 kB / 0.7152 GB, free: 3.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2951, allocations: 359.6 kB / 0.7156 GB, free: 3.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2952, allocations: 0 / 0.7156 GB, free: 3.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001178/0.2963, allocations: 428.8 kB / 0.716 GB, free: 2.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2964, allocations: 8 kB / 0.716 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2964, allocations: 4 kB / 0.716 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2964, allocations: 7.938 kB / 0.716 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.2969, allocations: 88.23 kB / 0.7161 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2969, allocations: 8.391 kB / 0.7161 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.2975, allocations: 91.64 kB / 0.7162 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2976, allocations: 12 kB / 0.7162 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003334/0.2979, allocations: 184 kB / 0.7164 GB, free: 2.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002897/0.2982, allocations: 230.8 kB / 0.7166 GB, free: 2.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000321/0.2985, allocations: 215.8 kB / 0.7168 GB, free: 1.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.2985, allocations: 3.938 kB / 0.7168 GB, free: 1.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004735/0.299, allocations: 253.4 kB / 0.7171 GB, free: 1.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.299, allocations: 4 kB / 0.7171 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.299, allocations: 4 kB / 0.7171 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.2991, allocations: 4 kB / 0.7171 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2992, allocations: 55.84 kB / 0.7171 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2992, allocations: 7.938 kB / 0.7171 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.2997, allocations: 47.97 kB / 0.7172 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2997, allocations: 12 kB / 0.7172 GB, free: 1.367 MB / 0.545 GB 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.0001869/0.2999, allocations: 204.2 kB / 0.7174 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3001, allocations: 51.67 kB / 0.7174 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3002, allocations: 51.84 kB / 0.7175 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3002, allocations: 0 / 0.7175 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3002, allocations: 0 / 0.7175 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3002, allocations: 4 kB / 0.7175 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.3011, allocations: 0.6398 MB / 0.7181 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3011, allocations: 0 / 0.7181 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.3014, allocations: 55.94 kB / 0.7182 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3014, allocations: 7.984 kB / 0.7182 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.3015, allocations: 7.984 kB / 0.7182 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3015, allocations: 0 / 0.7182 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3015, allocations: 8.062 kB / 0.7182 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3026, allocations: 440.6 kB / 0.7186 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3027, allocations: 120.8 kB / 0.7187 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.3028, allocations: 8 kB / 0.7187 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.3033, allocations: 51.94 kB / 0.7188 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.3034, allocations: 15.92 kB / 0.7188 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3034, allocations: 7.984 kB / 0.7188 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003934/0.3038, allocations: 342.9 kB / 0.7191 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3038, allocations: 0 / 0.7191 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007374/0.3045, allocations: 243.5 kB / 0.7194 GB, free: 15.03 MB / 0.5606 GB 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.0004413/0.305, allocations: 166.8 kB / 0.7195 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.3063, allocations: 400.1 kB / 0.7199 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3063, allocations: 0.875 kB / 0.7199 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.3068, allocations: 132 kB / 0.72 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3078, allocations: 216.7 kB / 0.7202 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3096, allocations: 0.8351 MB / 0.721 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.3101, allocations: 0.8425 MB / 0.7219 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.3105, allocations: 96.2 kB / 0.722 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3106, allocations: 39.42 kB / 0.722 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.3106, allocations: 0 / 0.722 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.01686/0.3275, allocations: 9.286 MB / 0.7311 GB, free: 3.086 MB / 0.5606 GB 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)