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.196/0.1967, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5843/0.7811, allocations: 161.5 MB / 0.7511 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008006/0.7891, allocations: 4.107 MB / 0.7551 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.7906, allocations: 34.66 kB / 0.7551 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.7926, allocations: 0.6475 MB / 0.7558 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.7974, allocations: 1.175 MB / 0.7569 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.8004, allocations: 0.9725 MB / 0.7579 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004083/0.8045, allocations: 1.884 MB / 0.7597 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.8058, allocations: 0.8261 MB / 0.7605 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.8086, allocations: 1.224 MB / 0.7617 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.81, allocations: 0.7595 MB / 0.7625 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.8102, allocations: 58.89 kB / 0.7625 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.8117, allocations: 0.5611 MB / 0.7631 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.8121, allocations: 399.3 kB / 0.7634 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.8125, allocations: 321.9 kB / 0.7638 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.8144, allocations: 1.945 MB / 0.7657 GB, free: 9.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8144, allocations: 3 kB / 0.7657 GB, free: 9.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8144, allocations: 0 / 0.7657 GB, free: 9.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.135e-05/0.8145, allocations: 0 / 0.7657 GB, free: 9.535 MB / 0.545 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.003754/0.8182, allocations: 1.548 MB / 0.7672 GB, free: 8.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.8183, allocations: 10.31 kB / 0.7672 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.8211, allocations: 0.6057 MB / 0.7678 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.8225, allocations: 0.9064 MB / 0.7687 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/0.8236, allocations: 348.3 kB / 0.769 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.8238, allocations: 106.7 kB / 0.7691 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.8268, allocations: 1.712 MB / 0.7708 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.8269, allocations: 6.219 kB / 0.7708 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.827, allocations: 51.08 kB / 0.7708 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.8271, allocations: 57.58 kB / 0.7709 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.8306, allocations: 1.671 MB / 0.7725 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007856/0.8385, allocations: 6.13 MB / 0.7785 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.8401, allocations: 0.6614 MB / 0.7791 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.8402, allocations: 7.781 kB / 0.7791 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.8412, allocations: 0.7249 MB / 0.7798 GB, free: 2.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=51): time 2.464e-06/0.8412, allocations: 0 / 0.7798 GB, free: 2.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=51): time 0.00245/0.8437, allocations: 1.269 MB / 0.7811 GB, free: 1.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003857/0.8441, allocations: 0.9317 MB / 0.782 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.8464, allocations: 1.551 MB / 0.7835 GB, free: 236 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.8465, allocations: 43.58 kB / 0.7836 GB, free: 200 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.847, allocations: 0.617 MB / 0.7842 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.8471, allocations: 178.7 kB / 0.7843 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.8472, allocations: 13.91 kB / 0.7843 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8473, allocations: 340.4 kB / 0.7847 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.8487, allocations: 0.5395 MB / 0.7852 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.8505, allocations: 1.052 MB / 0.7862 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.852, allocations: 0.6608 MB / 0.7869 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.8521, allocations: 3 kB / 0.7869 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003483/0.8555, allocations: 1.584 MB / 0.7884 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.8556, allocations: 39.3 kB / 0.7885 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.8556, allocations: 14.75 kB / 0.7885 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.8557, allocations: 17.42 kB / 0.7885 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.8568, allocations: 278.6 kB / 0.7887 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.87e-05/0.8568, allocations: 25.69 kB / 0.7888 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.8589, allocations: 393.5 kB / 0.7891 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.601e-05/0.859, allocations: 48.72 kB / 0.7892 GB, free: 13.77 MB / 0.5606 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006273/0.8596, allocations: 409.9 kB / 0.7896 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.8598, allocations: 146 kB / 0.7897 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.8601, allocations: 136 kB / 0.7899 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.8601, allocations: 11.22 kB / 0.7899 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.8601, allocations: 7.078 kB / 0.7899 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8601, allocations: 0 / 0.7899 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.8645, allocations: 3.292 MB / 0.7931 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.8645, allocations: 13.41 kB / 0.7931 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.8651, allocations: 115.7 kB / 0.7932 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.8651, allocations: 10.75 kB / 0.7932 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.8652, allocations: 22.95 kB / 0.7932 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.8652, allocations: 14.22 kB / 0.7933 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.8652, allocations: 11.38 kB / 0.7933 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.8673, allocations: 1.642 MB / 0.7949 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/0.8679, allocations: 377.8 kB / 0.7952 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.8681, allocations: 29.61 kB / 0.7953 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.8694, allocations: 135.5 kB / 0.7954 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8695, allocations: 54.42 kB / 0.7954 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.8696, allocations: 27.17 kB / 0.7955 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00191/0.8715, allocations: 1.104 MB / 0.7965 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8715, allocations: 1.969 kB / 0.7965 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001359/0.8728, allocations: 351.7 kB / 0.7969 GB, free: 9.07 MB / 0.5606 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 (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.0006128/0.8735, allocations: 232.4 kB / 0.7971 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.8762, allocations: 1.179 MB / 0.7983 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.8762, allocations: 4 kB / 0.7983 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.8771, allocations: 486.9 kB / 0.7987 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.8803, allocations: 0.7082 MB / 0.7994 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.8842, allocations: 2.519 MB / 0.8019 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.8849, allocations: 1.163 MB / 0.803 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001434/0.8863, allocations: 322.4 kB / 0.8033 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.8866, allocations: 95.41 kB / 0.8034 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.8866, allocations: 4 kB / 0.8034 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of Templates: time 0.041/0.9276, allocations: 26.74 MB / 0.8295 GB, free: 8.676 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: