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.1943/0.1951, allocations: 82.22 MB / 0.5934 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.02302/0.2182, allocations: 21.18 MB / 0.614 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.2242, allocations: 4.436 MB / 0.6184 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.2249, allocations: 19.88 kB / 0.6184 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.226, allocations: 262.7 kB / 0.6186 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.2278, allocations: 0.6192 MB / 0.6193 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2295, allocations: 0.5585 MB / 0.6198 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.2306, allocations: 0.8938 MB / 0.6207 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005416/0.2311, allocations: 411.8 kB / 0.6211 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.2321, allocations: 0.6074 MB / 0.6217 GB, free: 8.996 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.2325, allocations: 270.8 kB / 0.6219 GB, free: 8.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.2325, allocations: 27.98 kB / 0.6219 GB, free: 8.703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006107/0.2331, allocations: 331.5 kB / 0.6223 GB, free: 8.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2333, allocations: 107.6 kB / 0.6224 GB, free: 8.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2334, allocations: 137.4 kB / 0.6225 GB, free: 8.133 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.234, allocations: 0.5611 MB / 0.623 GB, free: 7.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.234, allocations: 0 / 0.623 GB, free: 7.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.234, allocations: 0 / 0.623 GB, free: 7.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.2341, allocations: 0 / 0.623 GB, free: 7.57 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.00118/0.2352, allocations: 0.7821 MB / 0.6238 GB, free: 6.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2353, allocations: 8.031 kB / 0.6238 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.2356, allocations: 79.19 kB / 0.6239 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.2362, allocations: 432.8 kB / 0.6243 GB, free: 6.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.2363, allocations: 62.7 kB / 0.6244 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.2364, allocations: 55.97 kB / 0.6244 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.2384, allocations: 0.7211 MB / 0.6251 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2384, allocations: 3.938 kB / 0.6251 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.2384, allocations: 16 kB / 0.6251 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.2385, allocations: 12 kB / 0.6251 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.2402, allocations: 0.5367 MB / 0.6257 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.2427, allocations: 2.813 MB / 0.6284 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.2442, allocations: 391.5 kB / 0.6288 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2442, allocations: 8 kB / 0.6288 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2442, allocations: 38.59 kB / 0.6288 GB, free: 1.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.2443, allocations: 0 / 0.6288 GB, free: 1.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.003014/0.2473, allocations: 0.7237 MB / 0.6295 GB, free: 472 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.2474, allocations: 158.2 kB / 0.6297 GB, free: 276 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.2479, allocations: 490.8 kB / 0.6302 GB, free: 15.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.248, allocations: 33.7 kB / 0.6302 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.2482, allocations: 299.6 kB / 0.6305 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2482, allocations: 31.55 kB / 0.6305 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.2482, allocations: 8 kB / 0.6305 GB, free: 15.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2484, allocations: 358.8 kB / 0.6309 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.2489, allocations: 155.7 kB / 0.631 GB, free: 14.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.2495, allocations: 328.2 kB / 0.6313 GB, free: 14.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.25, allocations: 175.9 kB / 0.6315 GB, free: 14.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2501, allocations: 0 / 0.6315 GB, free: 14.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00115/0.2512, allocations: 456.6 kB / 0.6319 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004865/0.2517, allocations: 1.236 MB / 0.6331 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2517, allocations: 4 kB / 0.6331 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2517, allocations: 7.938 kB / 0.6331 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.2522, allocations: 99.86 kB / 0.6332 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2522, allocations: 7.984 kB / 0.6332 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007276/0.2529, allocations: 127.5 kB / 0.6334 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.253, allocations: 16 kB / 0.6334 GB, free: 12.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.253, allocations: 4 kB / 0.6334 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003529/0.2534, allocations: 187.7 kB / 0.6336 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2534, allocations: 4 kB / 0.6336 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.2534, allocations: 4 kB / 0.6336 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2535, allocations: 47.92 kB / 0.6336 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2536, allocations: 11.92 kB / 0.6336 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.254, allocations: 76 kB / 0.6337 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.254, allocations: 12 kB / 0.6337 GB, free: 11.94 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.0002551/0.2543, allocations: 260.9 kB / 0.634 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2544, allocations: 51.42 kB / 0.634 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.904e-05/0.2545, allocations: 39.92 kB / 0.634 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2545, allocations: 0 / 0.634 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2545, allocations: 3.938 kB / 0.6341 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2545, allocations: 7.984 kB / 0.6341 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.2553, allocations: 0.6475 MB / 0.6347 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2553, allocations: 0 / 0.6347 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.2556, allocations: 63.94 kB / 0.6348 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2556, allocations: 8.062 kB / 0.6348 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2557, allocations: 3.984 kB / 0.6348 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2557, allocations: 0 / 0.6348 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2557, allocations: 7.953 kB / 0.6348 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2568, allocations: 495.8 kB / 0.6352 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.2569, allocations: 124.5 kB / 0.6354 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.257, allocations: 7.984 kB / 0.6354 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.2575, allocations: 91.84 kB / 0.6355 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.2576, allocations: 15.98 kB / 0.6355 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2576, allocations: 4 kB / 0.6355 GB, free: 10 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003325/0.2579, allocations: 330.9 kB / 0.6358 GB, free: 9.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.258, allocations: 4 kB / 0.6358 GB, free: 9.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.2587, allocations: 243.4 kB / 0.636 GB, free: 9.441 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.0003745/0.259, allocations: 172.1 kB / 0.6362 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.2604, allocations: 440.9 kB / 0.6366 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2604, allocations: 4 kB / 0.6366 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.2609, allocations: 156.5 kB / 0.6368 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.2621, allocations: 244 kB / 0.637 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2636, allocations: 0.9941 MB / 0.638 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.264, allocations: 0.8661 MB / 0.6388 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003659/0.2643, allocations: 100.5 kB / 0.6389 GB, free: 6.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2644, allocations: 39.42 kB / 0.639 GB, free: 6.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2645, allocations: 0 / 0.639 GB, free: 6.387 MB / 494.1 MB Notification: Performance of Templates: time 0.01446/0.2789, allocations: 8.79 MB / 0.6475 GB, free: 13.73 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: