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.2077/0.2096, allocations: 80.83 MB / 0.5899 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState): time 0.02212/0.2318, allocations: 22.53 MB / 0.6119 GB, free: 412 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.239, allocations: 4.46 MB / 0.6162 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.2401, allocations: 15.88 kB / 0.6162 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.2414, allocations: 374.2 kB / 0.6166 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.2445, allocations: 0.9489 MB / 0.6175 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.2469, allocations: 0.724 MB / 0.6182 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.2494, allocations: 1.798 MB / 0.62 GB, free: 8.074 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.2503, allocations: 0.5368 MB / 0.6205 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.252, allocations: 0.8638 MB / 0.6213 GB, free: 6.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008995/0.2529, allocations: 0.681 MB / 0.622 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.253, allocations: 60 kB / 0.6221 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.2546, allocations: 0.6902 MB / 0.6227 GB, free: 5.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.2548, allocations: 203.3 kB / 0.6229 GB, free: 5.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.2553, allocations: 449.7 kB / 0.6234 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.2572, allocations: 1.316 MB / 0.6247 GB, free: 3.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2572, allocations: 0 / 0.6247 GB, free: 3.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2572, allocations: 0 / 0.6247 GB, free: 3.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.2573, allocations: 0 / 0.6247 GB, free: 3.258 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.001877/0.2591, allocations: 1.286 MB / 0.6259 GB, free: 1.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.2592, allocations: 8.031 kB / 0.6259 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.2624, allocations: 0.5383 MB / 0.6264 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.2633, allocations: 0.5692 MB / 0.627 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.2633, allocations: 45.31 kB / 0.627 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.2634, allocations: 56 kB / 0.6271 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.2656, allocations: 1.094 MB / 0.6282 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2657, allocations: 11.88 kB / 0.6282 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.2658, allocations: 24 kB / 0.6282 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.2658, allocations: 24 kB / 0.6282 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.2684, allocations: 0.9874 MB / 0.6292 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.2739, allocations: 4.962 MB / 0.634 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.2761, allocations: 0.7714 MB / 0.6348 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.2772, allocations: 460.7 kB / 0.6352 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008424/0.2781, allocations: 0.8271 MB / 0.636 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.2796, allocations: 0.6735 MB / 0.6367 GB, free: 6.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 2.655e-06/0.2796, allocations: 0 / 0.6367 GB, free: 6.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.004195/0.2838, allocations: 1.544 MB / 0.6382 GB, free: 4.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.2841, allocations: 354.1 kB / 0.6385 GB, free: 4.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009284/0.285, allocations: 0.7469 MB / 0.6393 GB, free: 3.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.2851, allocations: 33.7 kB / 0.6393 GB, free: 3.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.2855, allocations: 443.4 kB / 0.6397 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.2856, allocations: 134.2 kB / 0.6398 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.2859, allocations: 158.1 kB / 0.64 GB, free: 2.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2861, allocations: 334 kB / 0.6403 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.2873, allocations: 457.2 kB / 0.6407 GB, free: 1.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2887, allocations: 0.7144 MB / 0.6414 GB, free: 1.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.2913, allocations: 1.243 MB / 0.6427 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/0.2914, allocations: 7.938 kB / 0.6427 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003211/0.2946, allocations: 1.382 MB / 0.644 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.2947, allocations: 109.2 kB / 0.6441 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.2947, allocations: 8 kB / 0.6441 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/0.2948, allocations: 8 kB / 0.6441 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.2958, allocations: 223.6 kB / 0.6443 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.2958, allocations: 15.92 kB / 0.6444 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.2971, allocations: 202.8 kB / 0.6446 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.2972, allocations: 39.92 kB / 0.6446 GB, free: 13.66 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.0005446/0.2978, allocations: 361.5 kB / 0.6449 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.2979, allocations: 87.06 kB / 0.645 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.3016, allocations: 1.689 MB / 0.6467 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.3017, allocations: 11.98 kB / 0.6467 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3017, allocations: 0 / 0.6467 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.3017, allocations: 0 / 0.6467 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3028, allocations: 0.7596 MB / 0.6474 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3028, allocations: 0 / 0.6474 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.3036, allocations: 147.8 kB / 0.6476 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3036, allocations: 0 / 0.6476 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.3036, allocations: 23.98 kB / 0.6476 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3037, allocations: 4 kB / 0.6476 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3037, allocations: 7.938 kB / 0.6476 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.3065, allocations: 1.33 MB / 0.6489 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.3068, allocations: 155.9 kB / 0.649 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.3069, allocations: 27.91 kB / 0.6491 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009086/0.3078, allocations: 115.9 kB / 0.6492 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.3079, allocations: 35.95 kB / 0.6492 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.308, allocations: 23.98 kB / 0.6492 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006988/0.3087, allocations: 0.5771 MB / 0.6498 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3087, allocations: 3.938 kB / 0.6498 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001029/0.3098, allocations: 347.6 kB / 0.6501 GB, free: 7.867 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.0007643/0.3105, allocations: 349.8 kB / 0.6505 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003138/0.3137, allocations: 1.312 MB / 0.6518 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3137, allocations: 0 / 0.6518 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.3151, allocations: 0.7487 MB / 0.6525 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.3167, allocations: 314.2 kB / 0.6528 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.3201, allocations: 1.929 MB / 0.6547 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.3207, allocations: 0.9862 MB / 0.6556 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007442/0.3214, allocations: 183.7 kB / 0.6558 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.3217, allocations: 83.38 kB / 0.6559 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.3217, allocations: 0 / 0.6559 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.03175/0.3534, allocations: 17.09 MB / 0.6726 GB, free: 0.9492 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (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)