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.1744/0.1751, allocations: 82.21 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistance): time 0.02118/0.1963, allocations: 24.47 MB / 0.618 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005985/0.2024, allocations: 5.143 MB / 0.623 GB, free: 7.867 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.2029, allocations: 19.88 kB / 0.623 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008345/0.2037, allocations: 270.5 kB / 0.6233 GB, free: 7.582 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.2051, allocations: 0.5908 MB / 0.6239 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.2067, allocations: 0.61 MB / 0.6245 GB, free: 6.395 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.209, allocations: 2.186 MB / 0.6266 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.2096, allocations: 436.8 kB / 0.627 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.2109, allocations: 0.6963 MB / 0.6277 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.2114, allocations: 457.9 kB / 0.6281 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.2115, allocations: 24 kB / 0.6282 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000986/0.2125, allocations: 467.2 kB / 0.6286 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.2127, allocations: 115.5 kB / 0.6287 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.213, allocations: 320.2 kB / 0.629 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008987/0.2139, allocations: 0.8059 MB / 0.6298 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2139, allocations: 4 kB / 0.6298 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2139, allocations: 0 / 0.6298 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2139, allocations: 0 / 0.6298 GB, free: 0.8945 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.001146/0.2151, allocations: 0.7831 MB / 0.6306 GB, free: 64 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2151, allocations: 12.03 kB / 0.6306 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.2155, allocations: 72.23 kB / 0.6307 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.2161, allocations: 461.6 kB / 0.6311 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.2162, allocations: 63.02 kB / 0.6312 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.2162, allocations: 44 kB / 0.6312 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.2184, allocations: 0.7289 MB / 0.6319 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2184, allocations: 0 / 0.6319 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.2185, allocations: 20 kB / 0.6319 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.2185, allocations: 11.94 kB / 0.6319 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.2204, allocations: 0.5328 MB / 0.6325 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.2229, allocations: 2.829 MB / 0.6352 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2245, allocations: 403.4 kB / 0.6356 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2247, allocations: 70.59 kB / 0.6357 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2248, allocations: 3.938 kB / 0.6357 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.2248, allocations: 50.61 kB / 0.6357 GB, free: 10.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.2248, allocations: 0 / 0.6357 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.003385/0.2282, allocations: 0.7078 MB / 0.6364 GB, free: 9.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.2283, allocations: 162.2 kB / 0.6366 GB, free: 9.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.2288, allocations: 490.8 kB / 0.637 GB, free: 8.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.2289, allocations: 33.64 kB / 0.6371 GB, free: 8.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.2291, allocations: 307.6 kB / 0.6374 GB, free: 8.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2291, allocations: 31.55 kB / 0.6374 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.2292, allocations: 25.7 kB / 0.6374 GB, free: 8.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2293, allocations: 354.8 kB / 0.6378 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.2299, allocations: 159.7 kB / 0.6379 GB, free: 8.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.2306, allocations: 324.2 kB / 0.6382 GB, free: 7.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.2318, allocations: 403.6 kB / 0.6386 GB, free: 7.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2318, allocations: 4 kB / 0.6386 GB, free: 7.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001325/0.2332, allocations: 452.6 kB / 0.639 GB, free: 6.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2333, allocations: 192.4 kB / 0.6392 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2333, allocations: 0 / 0.6392 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2333, allocations: 8 kB / 0.6392 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.2338, allocations: 87.92 kB / 0.6393 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2338, allocations: 7.938 kB / 0.6393 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.2346, allocations: 131.5 kB / 0.6395 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2346, allocations: 11.98 kB / 0.6395 GB, free: 6.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.2346, allocations: 4 kB / 0.6395 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003687/0.235, allocations: 191.6 kB / 0.6397 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.235, allocations: 4 kB / 0.6397 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.235, allocations: 15.92 kB / 0.6397 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2352, allocations: 52.33 kB / 0.6397 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2352, allocations: 4 kB / 0.6397 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.2356, allocations: 83.67 kB / 0.6398 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2356, allocations: 11.94 kB / 0.6398 GB, free: 5.949 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.0002337/0.2359, allocations: 249 kB / 0.6401 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.236, allocations: 47.44 kB / 0.6401 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.2361, allocations: 43.91 kB / 0.6401 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2361, allocations: 4 kB / 0.6401 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2361, allocations: 0 / 0.6401 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2361, allocations: 7.938 kB / 0.6402 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000785/0.2369, allocations: 0.6359 MB / 0.6408 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2369, allocations: 4 kB / 0.6408 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2373, allocations: 79.88 kB / 0.6409 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2373, allocations: 3.938 kB / 0.6409 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.2373, allocations: 4 kB / 0.6409 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2373, allocations: 0 / 0.6409 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2374, allocations: 3.984 kB / 0.6409 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.2386, allocations: 472.9 kB / 0.6413 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.2387, allocations: 132.5 kB / 0.6414 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.2388, allocations: 7.938 kB / 0.6414 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/0.2394, allocations: 83.91 kB / 0.6415 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.2394, allocations: 11.98 kB / 0.6415 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2395, allocations: 7.984 kB / 0.6415 GB, free: 4.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.2398, allocations: 342.9 kB / 0.6419 GB, free: 3.727 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2398, allocations: 0 / 0.6419 GB, free: 3.727 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007235/0.2406, allocations: 247.3 kB / 0.6421 GB, free: 3.484 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.0003652/0.2409, allocations: 174.4 kB / 0.6423 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.2424, allocations: 448.5 kB / 0.6427 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2424, allocations: 0 / 0.6427 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.243, allocations: 156.4 kB / 0.6429 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.2444, allocations: 248.4 kB / 0.6431 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.246, allocations: 1.039 MB / 0.6441 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.2465, allocations: 0.8506 MB / 0.6449 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003968/0.2469, allocations: 93.2 kB / 0.645 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.247, allocations: 47.41 kB / 0.6451 GB, free: 404 kB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.247, allocations: 0 / 0.6451 GB, free: 404 kB / 494.1 MB Notification: Performance of Templates: time 0.01524/0.2622, allocations: 9.095 MB / 0.654 GB, free: 7.434 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: