Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [/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.2165/0.2184, allocations: 80.83 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6331/0.8515, allocations: 191.1 MB / 0.7763 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009615/0.8612, allocations: 4.256 MB / 0.7805 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.863, allocations: 39.75 kB / 0.7805 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.866, allocations: 0.7879 MB / 0.7813 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007612/0.8737, allocations: 1.595 MB / 0.7828 GB, free: 1.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.8776, allocations: 1.236 MB / 0.784 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00613/0.8838, allocations: 4.705 MB / 0.7886 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.8856, allocations: 0.889 MB / 0.7895 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005353/0.891, allocations: 1.35 MB / 0.7908 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.8954, allocations: 1.123 MB / 0.7919 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004636/0.8959, allocations: 70.59 kB / 0.792 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.8988, allocations: 1.051 MB / 0.793 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008614/0.8996, allocations: 449.8 kB / 0.7934 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.901, allocations: 0.7203 MB / 0.7941 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.9055, allocations: 2.68 MB / 0.7967 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.9056, allocations: 0 / 0.7967 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9056, allocations: 0 / 0.7967 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.494e-05/0.9056, allocations: 0 / 0.7967 GB, free: 9.43 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005152/0.9108, allocations: 1.883 MB / 0.7986 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.9109, allocations: 7.844 kB / 0.7986 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.9141, allocations: 0.5306 MB / 0.7991 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.9158, allocations: 0.941 MB / 0.8 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001255/0.9171, allocations: 309.8 kB / 0.8003 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.9173, allocations: 107.9 kB / 0.8004 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.9209, allocations: 1.711 MB / 0.8021 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.921, allocations: 7.938 kB / 0.8021 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9211, allocations: 44 kB / 0.8021 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.9212, allocations: 53.98 kB / 0.8022 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.9251, allocations: 1.631 MB / 0.8038 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009461/0.9346, allocations: 6.098 MB / 0.8097 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.9364, allocations: 0.6436 MB / 0.8104 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.9373, allocations: 374.5 kB / 0.8107 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.9373, allocations: 8.359 kB / 0.8107 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.9386, allocations: 0.7258 MB / 0.8115 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.9386, allocations: 0 / 0.8115 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51): time 0.002859/0.9415, allocations: 1.171 MB / 0.8126 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004314/0.9419, allocations: 0.9346 MB / 0.8135 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/0.9445, allocations: 1.54 MB / 0.815 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.9447, allocations: 41.7 kB / 0.8151 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.9453, allocations: 0.6089 MB / 0.8156 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.9454, allocations: 185.5 kB / 0.8158 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.9459, allocations: 246.8 kB / 0.8161 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.946, allocations: 337.9 kB / 0.8164 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.9474, allocations: 0.5172 MB / 0.8169 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.9494, allocations: 1.042 MB / 0.8179 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.9518, allocations: 1.231 MB / 0.8191 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.9518, allocations: 4 kB / 0.8191 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003759/0.9556, allocations: 1.53 MB / 0.8206 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.9557, allocations: 49.62 kB / 0.8206 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.9557, allocations: 11.98 kB / 0.8207 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.9557, allocations: 16 kB / 0.8207 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.9569, allocations: 260 kB / 0.8209 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/0.957, allocations: 23.92 kB / 0.8209 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.9593, allocations: 361.9 kB / 0.8213 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.9595, allocations: 43.98 kB / 0.8213 GB, free: 15.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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.0007748/0.9602, allocations: 421.8 kB / 0.8217 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/0.9606, allocations: 142.3 kB / 0.8219 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.961, allocations: 148.8 kB / 0.822 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.961, allocations: 4 kB / 0.822 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.961, allocations: 4 kB / 0.822 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.961, allocations: 0 / 0.822 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.9659, allocations: 3.287 MB / 0.8252 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.9659, allocations: 8 kB / 0.8252 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.9665, allocations: 112.3 kB / 0.8253 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.9665, allocations: 8 kB / 0.8254 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.9666, allocations: 23.98 kB / 0.8254 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.9666, allocations: 11.94 kB / 0.8254 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9666, allocations: 11.94 kB / 0.8254 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.9689, allocations: 1.211 MB / 0.8266 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/0.9697, allocations: 379.2 kB / 0.8269 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.9699, allocations: 24 kB / 0.827 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.9712, allocations: 119.9 kB / 0.8271 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.9713, allocations: 51.72 kB / 0.8271 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.9714, allocations: 27.98 kB / 0.8272 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001911/0.9733, allocations: 1.093 MB / 0.8282 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9733, allocations: 0 / 0.8282 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001314/0.9746, allocations: 368 kB / 0.8286 GB, free: 8.066 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0005498/0.9752, allocations: 230 kB / 0.8288 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002736/0.9779, allocations: 1.138 MB / 0.8299 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.9779, allocations: 3.938 kB / 0.8299 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008913/0.9788, allocations: 485.4 kB / 0.8304 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.9824, allocations: 0.7156 MB / 0.8311 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.9865, allocations: 2.613 MB / 0.8336 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.9872, allocations: 1.14 MB / 0.8347 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001713/0.989, allocations: 332.6 kB / 0.8351 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.9893, allocations: 95.41 kB / 0.8351 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of SimCode: time 1.263e-06/0.9893, allocations: 4 kB / 0.8351 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of Templates: time 0.04815/1.037, allocations: 27.72 MB / 0.8622 GB, free: 5.758 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)