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.2214/0.2237, allocations: 80.84 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.03136/0.2551, allocations: 25.12 MB / 0.6142 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.2622, allocations: 5.199 MB / 0.6193 GB, free: 8.691 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.2628, allocations: 23.81 kB / 0.6193 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.2638, allocations: 282.5 kB / 0.6196 GB, free: 8.391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.2654, allocations: 0.5866 MB / 0.6201 GB, free: 7.805 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.2671, allocations: 0.6055 MB / 0.6207 GB, free: 7.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.2693, allocations: 2.186 MB / 0.6229 GB, free: 5.016 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005839/0.2699, allocations: 445.4 kB / 0.6233 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.2712, allocations: 0.7079 MB / 0.624 GB, free: 3.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.2717, allocations: 454 kB / 0.6244 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.2718, allocations: 32 kB / 0.6244 GB, free: 3.391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008783/0.2727, allocations: 491.1 kB / 0.6249 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.2728, allocations: 115.6 kB / 0.625 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.2731, allocations: 310.4 kB / 0.6253 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.274, allocations: 0.8022 MB / 0.6261 GB, free: 1.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.274, allocations: 0 / 0.6261 GB, free: 1.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.274, allocations: 0 / 0.6261 GB, free: 1.688 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.274, allocations: 0 / 0.6261 GB, free: 1.688 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.001339/0.2754, allocations: 0.9076 MB / 0.627 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2754, allocations: 12.03 kB / 0.627 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.2757, allocations: 80.17 kB / 0.6271 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.2763, allocations: 445.8 kB / 0.6275 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.471e-05/0.2764, allocations: 67 kB / 0.6276 GB, free: 96 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.2765, allocations: 47.98 kB / 0.6276 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.2785, allocations: 0.6937 MB / 0.6283 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2786, allocations: 0 / 0.6283 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.2786, allocations: 16 kB / 0.6283 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.2787, allocations: 16 kB / 0.6283 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.2804, allocations: 493.6 kB / 0.6288 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.2832, allocations: 2.809 MB / 0.6315 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.2847, allocations: 363.4 kB / 0.6319 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2848, allocations: 70.58 kB / 0.6319 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2849, allocations: 4 kB / 0.632 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2849, allocations: 38.5 kB / 0.632 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2849, allocations: 0 / 0.632 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.003/0.2879, allocations: 0.6335 MB / 0.6326 GB, free: 10.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.288, allocations: 162.2 kB / 0.6328 GB, free: 10.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.2886, allocations: 482.9 kB / 0.6332 GB, free: 9.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.2886, allocations: 37.7 kB / 0.6333 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.2889, allocations: 299.6 kB / 0.6335 GB, free: 9.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2889, allocations: 39.48 kB / 0.6336 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2891, allocations: 61.59 kB / 0.6336 GB, free: 9.445 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.2893, allocations: 354.8 kB / 0.634 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.2898, allocations: 144.6 kB / 0.6341 GB, free: 8.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.2904, allocations: 310.1 kB / 0.6344 GB, free: 8.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/0.2914, allocations: 367.5 kB / 0.6348 GB, free: 8.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2914, allocations: 0 / 0.6348 GB, free: 8.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001163/0.2926, allocations: 416.6 kB / 0.6352 GB, free: 7.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2926, allocations: 8 kB / 0.6352 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2926, allocations: 4 kB / 0.6352 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2927, allocations: 4 kB / 0.6352 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.2931, allocations: 96.17 kB / 0.6353 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2931, allocations: 4 kB / 0.6353 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.2938, allocations: 111.6 kB / 0.6354 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2938, allocations: 12.38 kB / 0.6354 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002584/0.2941, allocations: 180.1 kB / 0.6356 GB, free: 7.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002816/0.2944, allocations: 233.1 kB / 0.6358 GB, free: 7.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003061/0.2947, allocations: 207.8 kB / 0.636 GB, free: 6.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.2947, allocations: 4 kB / 0.636 GB, free: 6.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004309/0.2951, allocations: 256.7 kB / 0.6362 GB, free: 6.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.2952, allocations: 8 kB / 0.6362 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.2952, allocations: 416 / 0.6362 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.2952, allocations: 12 kB / 0.6363 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2953, allocations: 39.92 kB / 0.6363 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2954, allocations: 11.92 kB / 0.6363 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.2959, allocations: 75.77 kB / 0.6364 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2959, allocations: 8 kB / 0.6364 GB, free: 6.375 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.296, allocations: 196.2 kB / 0.6366 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.2961, allocations: 47.44 kB / 0.6366 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.2962, allocations: 47.84 kB / 0.6367 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.831e-05/0.2963, allocations: 4 kB / 0.6367 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2963, allocations: 4 kB / 0.6367 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2963, allocations: 3.938 kB / 0.6367 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.2971, allocations: 0.6436 MB / 0.6373 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2971, allocations: 0 / 0.6373 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.2974, allocations: 63.86 kB / 0.6374 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2974, allocations: 4.062 kB / 0.6374 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2974, allocations: 8 kB / 0.6374 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2975, allocations: 3.938 kB / 0.6374 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2975, allocations: 0 / 0.6374 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2985, allocations: 440.3 kB / 0.6378 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2986, allocations: 120.6 kB / 0.6379 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.2987, allocations: 0 / 0.6379 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.2993, allocations: 83.81 kB / 0.638 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.2993, allocations: 7.984 kB / 0.638 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2994, allocations: 7.984 kB / 0.638 GB, free: 4.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003706/0.2997, allocations: 342.9 kB / 0.6383 GB, free: 4.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2997, allocations: 4 kB / 0.6383 GB, free: 4.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007024/0.3005, allocations: 239.4 kB / 0.6386 GB, free: 4.027 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 (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.0003896/0.3008, allocations: 163.3 kB / 0.6387 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.3021, allocations: 392.1 kB / 0.6391 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3021, allocations: 4 kB / 0.6391 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.3025, allocations: 140.8 kB / 0.6392 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3038, allocations: 256.5 kB / 0.6395 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3054, allocations: 0.9975 MB / 0.6405 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3058, allocations: 0.8428 MB / 0.6413 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.3062, allocations: 100.9 kB / 0.6414 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3063, allocations: 43.41 kB / 0.6414 GB, free: 1.055 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3063, allocations: 0 / 0.6414 GB, free: 1.055 MB / 494.1 MB Notification: Performance of Templates: time 0.01617/0.3225, allocations: 9.136 MB / 0.6503 GB, free: 8.047 MB / 0.4981 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)