Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.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.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState") [/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.2196/0.2207, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02449/0.2452, allocations: 21.94 MB / 0.6155 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006358/0.2516, allocations: 4.504 MB / 0.6199 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.2524, allocations: 15.88 kB / 0.6199 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.2535, allocations: 370.2 kB / 0.6203 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.2557, allocations: 0.9449 MB / 0.6212 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.2577, allocations: 0.6837 MB / 0.6219 GB, free: 9.039 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.2601, allocations: 2.371 MB / 0.6242 GB, free: 6.66 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.2608, allocations: 488.6 kB / 0.6247 GB, free: 6.168 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.2623, allocations: 0.7663 MB / 0.6254 GB, free: 5.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007726/0.2631, allocations: 0.6497 MB / 0.6261 GB, free: 4.746 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.2632, allocations: 32 kB / 0.6261 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.2643, allocations: 0.6278 MB / 0.6267 GB, free: 4.086 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.2645, allocations: 187.2 kB / 0.6269 GB, free: 3.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.2649, allocations: 447.4 kB / 0.6273 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.2664, allocations: 1.281 MB / 0.6286 GB, free: 2.172 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2664, allocations: 4 kB / 0.6286 GB, free: 2.168 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2664, allocations: 0 / 0.6286 GB, free: 2.168 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.2664, allocations: 0 / 0.6286 GB, free: 2.168 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002184/0.2686, allocations: 1.104 MB / 0.6296 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2687, allocations: 12.03 kB / 0.6296 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.2719, allocations: 0.5656 MB / 0.6302 GB, free: 428 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.2727, allocations: 0.5771 MB / 0.6308 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.2727, allocations: 41.31 kB / 0.6308 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2728, allocations: 63.98 kB / 0.6309 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.275, allocations: 1.106 MB / 0.6319 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.275, allocations: 4 kB / 0.6319 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.2751, allocations: 31.94 kB / 0.632 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.2752, allocations: 23.94 kB / 0.632 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/0.2779, allocations: 1.007 MB / 0.633 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004871/0.2827, allocations: 4.974 MB / 0.6378 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.285, allocations: 0.7831 MB / 0.6386 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.2862, allocations: 468.4 kB / 0.6391 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/0.2869, allocations: 0.8233 MB / 0.6399 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.2884, allocations: 0.6774 MB / 0.6405 GB, free: 5.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 1.804e-06/0.2884, allocations: 0 / 0.6405 GB, free: 5.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.004112/0.2925, allocations: 1.571 MB / 0.6421 GB, free: 3.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/0.2927, allocations: 354.1 kB / 0.6424 GB, free: 3.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.2936, allocations: 0.7507 MB / 0.6431 GB, free: 2.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.2937, allocations: 33.7 kB / 0.6432 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.294, allocations: 447.4 kB / 0.6436 GB, free: 1.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.2942, allocations: 134.2 kB / 0.6437 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.2943, allocations: 65.61 kB / 0.6438 GB, free: 1.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2944, allocations: 334 kB / 0.6441 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.2957, allocations: 449.3 kB / 0.6445 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2973, allocations: 0.7222 MB / 0.6452 GB, free: 100 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.3001, allocations: 1.262 MB / 0.6465 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3001, allocations: 0 / 0.6465 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003286/0.3034, allocations: 1.417 MB / 0.6478 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/0.3035, allocations: 109.1 kB / 0.6479 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3035, allocations: 8 kB / 0.648 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3036, allocations: 8 kB / 0.648 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3046, allocations: 220 kB / 0.6482 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.3046, allocations: 15.94 kB / 0.6482 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3058, allocations: 199 kB / 0.6484 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/0.3059, allocations: 43.97 kB / 0.6484 GB, free: 12.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * 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.0003929/0.3063, allocations: 361.1 kB / 0.6488 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3064, allocations: 86.97 kB / 0.6488 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.3101, allocations: 1.704 MB / 0.6505 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.3101, allocations: 7.984 kB / 0.6505 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3101, allocations: 0 / 0.6505 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3101, allocations: 0 / 0.6505 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.311, allocations: 0.7712 MB / 0.6513 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.311, allocations: 0 / 0.6513 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/0.3118, allocations: 147.8 kB / 0.6514 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3118, allocations: 7.984 kB / 0.6514 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.3119, allocations: 19.98 kB / 0.6514 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3119, allocations: 0 / 0.6514 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3119, allocations: 0 / 0.6514 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.3148, allocations: 1.35 MB / 0.6528 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.315, allocations: 187.7 kB / 0.6529 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.3151, allocations: 20 kB / 0.653 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.316, allocations: 127.9 kB / 0.6531 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.3161, allocations: 31.95 kB / 0.6531 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.3162, allocations: 23.98 kB / 0.6531 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006426/0.3168, allocations: 0.581 MB / 0.6537 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 0.6537 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008648/0.3177, allocations: 343.7 kB / 0.654 GB, free: 6.797 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * 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.0006915/0.3184, allocations: 350 kB / 0.6544 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.3213, allocations: 1.319 MB / 0.6556 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3213, allocations: 4 kB / 0.6556 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.3228, allocations: 0.7488 MB / 0.6564 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.3242, allocations: 295.1 kB / 0.6567 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.3275, allocations: 1.971 MB / 0.6586 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.328, allocations: 0.9901 MB / 0.6596 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006489/0.3287, allocations: 191.5 kB / 0.6597 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.3289, allocations: 83.33 kB / 0.6598 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.3289, allocations: 0 / 0.6598 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of Templates: time 0.02455/0.3535, allocations: 16.4 MB / 0.6758 GB, free: 0.5117 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1) Environment - environmentSimulation: