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.5302/0.5324, allocations: 80.81 MB / 0.5904 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6375/1.17, allocations: 193.5 MB / 0.7793 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006624/1.177, allocations: 4.216 MB / 0.7834 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/1.178, allocations: 43.61 kB / 0.7835 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/1.18, allocations: 0.9237 MB / 0.7844 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/1.184, allocations: 1.683 MB / 0.786 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/1.187, allocations: 1.372 MB / 0.7874 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004546/1.192, allocations: 3.572 MB / 0.7909 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/1.193, allocations: 1.095 MB / 0.7919 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/1.197, allocations: 1.586 MB / 0.7935 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/1.199, allocations: 1.105 MB / 0.7945 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/1.199, allocations: 157.3 kB / 0.7947 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/1.202, allocations: 1.082 MB / 0.7958 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005602/1.202, allocations: 0.5221 MB / 0.7963 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009807/1.203, allocations: 0.8169 MB / 0.7971 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/1.206, allocations: 2.728 MB / 0.7997 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.206, allocations: 3.75 kB / 0.7997 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/1.206, allocations: 0 / 0.7997 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.554e-05/1.206, allocations: 0 / 0.7997 GB, free: 1.035 MB / 0.5762 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.004241/1.211, allocations: 1.881 MB / 0.8016 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.211, allocations: 10.84 kB / 0.8016 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/1.214, allocations: 0.5311 MB / 0.8021 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/1.215, allocations: 0.9447 MB / 0.803 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/1.216, allocations: 304.3 kB / 0.8033 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.216, allocations: 105.5 kB / 0.8034 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/1.219, allocations: 1.712 MB / 0.8051 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/1.219, allocations: 7.312 kB / 0.8051 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.22, allocations: 46.28 kB / 0.8051 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/1.22, allocations: 51.34 kB / 0.8052 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/1.223, allocations: 1.633 MB / 0.8068 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00833/1.232, allocations: 6.1 MB / 0.8127 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/1.233, allocations: 0.6526 MB / 0.8134 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/1.234, allocations: 370.1 kB / 0.8137 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.234, allocations: 12.55 kB / 0.8137 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/1.235, allocations: 0.72 MB / 0.8144 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/1.235, allocations: 0 / 0.8144 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51): time 0.00263/1.238, allocations: 1.18 MB / 0.8156 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003933/1.238, allocations: 0.9237 MB / 0.8165 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/1.241, allocations: 1.543 MB / 0.818 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/1.241, allocations: 38.61 kB / 0.818 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/1.241, allocations: 0.6232 MB / 0.8186 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/1.242, allocations: 173.3 kB / 0.8188 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/1.242, allocations: 245.3 kB / 0.819 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.242, allocations: 339.9 kB / 0.8194 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/1.244, allocations: 0.5154 MB / 0.8199 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/1.246, allocations: 1.035 MB / 0.8209 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/1.248, allocations: 1.238 MB / 0.8221 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.248, allocations: 2.625 kB / 0.8221 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003771/1.252, allocations: 1.536 MB / 0.8236 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/1.252, allocations: 39.8 kB / 0.8236 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.252, allocations: 9.656 kB / 0.8236 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/1.252, allocations: 16.31 kB / 0.8237 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.253, allocations: 265.9 kB / 0.8239 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/1.253, allocations: 19.47 kB / 0.8239 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.255, allocations: 355.6 kB / 0.8243 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.256, allocations: 50.67 kB / 0.8243 GB, free: 7.148 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.0006947/1.256, allocations: 415.4 kB / 0.8247 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/1.257, allocations: 148.9 kB / 0.8249 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/1.257, allocations: 142.5 kB / 0.825 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.257, allocations: 4.844 kB / 0.825 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.257, allocations: 6 kB / 0.825 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.257, allocations: 7.984 kB / 0.825 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/1.262, allocations: 3.288 MB / 0.8282 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.262, allocations: 7.938 kB / 0.8282 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/1.263, allocations: 106.9 kB / 0.8283 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.263, allocations: 15.03 kB / 0.8283 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/1.263, allocations: 25.33 kB / 0.8284 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/1.263, allocations: 17.52 kB / 0.8284 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.263, allocations: 7.969 kB / 0.8284 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/1.265, allocations: 1.2 MB / 0.8296 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/1.266, allocations: 376 kB / 0.8299 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.266, allocations: 21.59 kB / 0.8299 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.268, allocations: 122.5 kB / 0.8301 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.268, allocations: 48.2 kB / 0.8301 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/1.268, allocations: 31.2 kB / 0.8301 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001988/1.27, allocations: 1.086 MB / 0.8312 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.27, allocations: 0 / 0.8312 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001339/1.271, allocations: 369.5 kB / 0.8315 GB, free: 2.355 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.0006255/1.272, allocations: 232.6 kB / 0.8318 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00307/1.275, allocations: 1.163 MB / 0.8329 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.275, allocations: 4.062 kB / 0.8329 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009619/1.276, allocations: 482.9 kB / 0.8334 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/1.28, allocations: 0.7521 MB / 0.8341 GB, free: 364 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/1.284, allocations: 2.254 MB / 0.8363 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/1.285, allocations: 1.14 MB / 0.8374 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001741/1.287, allocations: 326.4 kB / 0.8377 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/1.287, allocations: 95.41 kB / 0.8378 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/1.287, allocations: 4 kB / 0.8378 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of Templates: time 0.04661/1.334, allocations: 28.8 MB / 0.8659 GB, free: 15.97 MB / 0.6387 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)