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.1778/0.1798, allocations: 80.83 MB / 0.6706 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6759/0.8558, allocations: 193.4 MB / 0.8595 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008732/0.8646, allocations: 4.239 MB / 0.8637 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.8665, allocations: 37.97 kB / 0.8637 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002922/0.8694, allocations: 0.9211 MB / 0.8646 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.8749, allocations: 1.681 MB / 0.8662 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.8796, allocations: 1.363 MB / 0.8676 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006103/0.8857, allocations: 3.579 MB / 0.8711 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.8886, allocations: 1.096 MB / 0.8721 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006359/0.895, allocations: 1.615 MB / 0.8737 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.8982, allocations: 1.108 MB / 0.8748 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003746/0.8986, allocations: 156 kB / 0.8749 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.9011, allocations: 1.084 MB / 0.876 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005564/0.9017, allocations: 0.522 MB / 0.8765 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009967/0.9027, allocations: 0.809 MB / 0.8773 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.9062, allocations: 2.764 MB / 0.88 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9062, allocations: 0 / 0.88 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.007e-06/0.9063, allocations: 3.984 kB / 0.88 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.9063, allocations: 0 / 0.88 GB, free: 3.809 MB / 0.6387 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.004475/0.9108, allocations: 1.879 MB / 0.8818 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.9108, allocations: 12.03 kB / 0.8819 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.9137, allocations: 0.5368 MB / 0.8824 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.9154, allocations: 0.9838 MB / 0.8833 GB, free: 292 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.9155, allocations: 94.05 kB / 0.8834 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.9156, allocations: 107.9 kB / 0.8835 GB, free: 88 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.9189, allocations: 1.698 MB / 0.8852 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.9189, allocations: 4 kB / 0.8852 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.919, allocations: 48 kB / 0.8852 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.449e-05/0.9191, allocations: 53.92 kB / 0.8853 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.9228, allocations: 1.596 MB / 0.8869 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008478/0.9313, allocations: 6.041 MB / 0.8928 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.933, allocations: 0.6445 MB / 0.8934 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.9338, allocations: 372.9 kB / 0.8937 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.9339, allocations: 8.359 kB / 0.8937 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.9351, allocations: 0.718 MB / 0.8944 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.9351, allocations: 4 kB / 0.8944 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.002842/0.938, allocations: 1.178 MB / 0.8956 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003762/0.9383, allocations: 0.927 MB / 0.8965 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9407, allocations: 1.517 MB / 0.898 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.9408, allocations: 45.64 kB / 0.898 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/0.9413, allocations: 0.6174 MB / 0.8986 GB, free: 15.91 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.9415, allocations: 181.6 kB / 0.8988 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/0.9419, allocations: 238.3 kB / 0.899 GB, free: 15.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.942, allocations: 345.9 kB / 0.8994 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.9434, allocations: 0.4938 MB / 0.8998 GB, free: 14.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.9452, allocations: 1.022 MB / 0.9008 GB, free: 13.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.9476, allocations: 1.211 MB / 0.902 GB, free: 12.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9476, allocations: 4 kB / 0.902 GB, free: 12.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003696/0.9513, allocations: 1.495 MB / 0.9035 GB, free: 10.56 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.9514, allocations: 41.69 kB / 0.9035 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.9514, allocations: 12 kB / 0.9035 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.9515, allocations: 12 kB / 0.9036 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.9526, allocations: 259.9 kB / 0.9038 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/0.9526, allocations: 19.92 kB / 0.9038 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.9548, allocations: 330 kB / 0.9041 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.9549, allocations: 51.97 kB / 0.9042 GB, free: 9.844 MB / 0.67 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.0007921/0.9557, allocations: 407.1 kB / 0.9046 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.9561, allocations: 142.3 kB / 0.9047 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.9565, allocations: 140.8 kB / 0.9048 GB, free: 9.145 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.9565, allocations: 4 kB / 0.9048 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.9565, allocations: 8 kB / 0.9049 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.9565, allocations: 3.984 kB / 0.9049 GB, free: 9.129 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005231/0.9618, allocations: 3.291 MB / 0.9081 GB, free: 5.672 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.9618, allocations: 11.94 kB / 0.9081 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.9624, allocations: 112.2 kB / 0.9082 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.9625, allocations: 12 kB / 0.9082 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.9625, allocations: 23.92 kB / 0.9082 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.9625, allocations: 15.94 kB / 0.9082 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.9626, allocations: 11.94 kB / 0.9083 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.9649, allocations: 1.195 MB / 0.9094 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.966, allocations: 379.1 kB / 0.9098 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004179/0.9664, allocations: 27.98 kB / 0.9098 GB, free: 3.762 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.9679, allocations: 107.9 kB / 0.9099 GB, free: 3.656 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.968, allocations: 55.77 kB / 0.91 GB, free: 3.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.9681, allocations: 27.98 kB / 0.91 GB, free: 3.574 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002139/0.9702, allocations: 1.065 MB / 0.911 GB, free: 2.508 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9702, allocations: 0 / 0.911 GB, free: 2.508 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001472/0.9717, allocations: 360.1 kB / 0.9114 GB, free: 2.156 MB / 0.67 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.0006196/0.9723, allocations: 217.5 kB / 0.9116 GB, free: 1.941 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002904/0.9752, allocations: 1.145 MB / 0.9127 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.9753, allocations: 4 kB / 0.9127 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.9762, allocations: 481.5 kB / 0.9132 GB, free: 308 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/0.98, allocations: 0.7352 MB / 0.9139 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.9842, allocations: 2.233 MB / 0.9161 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.9851, allocations: 1.136 MB / 0.9172 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001438/0.9866, allocations: 330.4 kB / 0.9175 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.9869, allocations: 103.4 kB / 0.9176 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of SimCode: time 7.12e-07/0.9869, allocations: 0 / 0.9176 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.05067/1.038, allocations: 29.35 MB / 0.9462 GB, free: 14.45 MB / 0.7169 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)