Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 107.2 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 192.4 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2024, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5548/0.7573, allocations: 194 MB / 0.9742 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.7742, allocations: 6.882 MB / 0.9809 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.7757, allocations: 53.09 kB / 0.981 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.7782, allocations: 0.6908 MB / 0.9817 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00839/0.7866, allocations: 2.283 MB / 0.9839 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.7919, allocations: 1.425 MB / 0.9853 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00551/0.7974, allocations: 2.931 MB / 0.9882 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.7996, allocations: 0.9163 MB / 0.989 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.8035, allocations: 1.139 MB / 0.9902 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.8057, allocations: 0.7994 MB / 0.9909 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.806, allocations: 108 kB / 0.991 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006503/0.8126, allocations: 2.062 MB / 0.9931 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006505/0.8132, allocations: 366.9 kB / 0.9934 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.8144, allocations: 0.5986 MB / 0.994 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.82, allocations: 2.435 MB / 0.9964 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.82, allocations: 0 / 0.9964 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.82, allocations: 0 / 0.9964 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.801e-05/0.8201, allocations: 0 / 0.9964 GB, free: 1.352 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005867/0.8259, allocations: 1.664 MB / 0.998 GB, free: 15.63 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.826, allocations: 10 kB / 0.998 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.8292, allocations: 0.5401 MB / 0.9985 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.8314, allocations: 0.9908 MB / 0.9995 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/0.8327, allocations: 277 kB / 0.9998 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.8328, allocations: 68 kB / 0.9998 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.8354, allocations: 1.144 MB / 1.001 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.8355, allocations: 4 kB / 1.001 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.8356, allocations: 27.98 kB / 1.001 GB, free: 12.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.8356, allocations: 37.31 kB / 1.001 GB, free: 12.48 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.8391, allocations: 1.274 MB / 1.002 GB, free: 11.21 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/0.8449, allocations: 2.924 MB / 1.005 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.8468, allocations: 0.7114 MB / 1.006 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008619/0.8476, allocations: 452.2 kB / 1.006 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/0.8485, allocations: 1.025 MB / 1.007 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.8496, allocations: 0.5292 MB / 1.008 GB, free: 5.254 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 2.294e-06/0.8496, allocations: 0 / 1.008 GB, free: 5.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.003138/0.8528, allocations: 1.271 MB / 1.009 GB, free: 3.977 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.8529, allocations: 115.2 kB / 1.009 GB, free: 3.84 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.8549, allocations: 1.193 MB / 1.01 GB, free: 2.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/0.855, allocations: 37.7 kB / 1.01 GB, free: 2.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.8554, allocations: 429.5 kB / 1.011 GB, free: 2.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.8556, allocations: 205.1 kB / 1.011 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.8559, allocations: 146.1 kB / 1.011 GB, free: 1.816 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.856, allocations: 334 kB / 1.011 GB, free: 1.484 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.8575, allocations: 472.9 kB / 1.012 GB, free: 1.023 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.8591, allocations: 0.6234 MB / 1.012 GB, free: 360 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.8614, allocations: 0.9572 MB / 1.013 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8614, allocations: 0 / 1.013 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003429/0.8648, allocations: 1.268 MB / 1.015 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.8649, allocations: 39.41 kB / 1.015 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8649, allocations: 7.938 kB / 1.015 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.8649, allocations: 11.88 kB / 1.015 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.866, allocations: 200 kB / 1.015 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.866, allocations: 9.25 kB / 1.015 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.8677, allocations: 277.8 kB / 1.015 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.8678, allocations: 35.97 kB / 1.015 GB, free: 13.49 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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.0004759/0.8682, allocations: 325.3 kB / 1.015 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.8685, allocations: 114.6 kB / 1.016 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.8707, allocations: 1.051 MB / 1.017 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.8708, allocations: 7.938 kB / 1.017 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8708, allocations: 4 kB / 1.017 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.8708, allocations: 3.984 kB / 1.017 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/0.8759, allocations: 3.22 MB / 1.02 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.8759, allocations: 8 kB / 1.02 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.8766, allocations: 129.8 kB / 1.02 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.8766, allocations: 12 kB / 1.02 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.8767, allocations: 23.98 kB / 1.02 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.8767, allocations: 15.94 kB / 1.02 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.8767, allocations: 11.94 kB / 1.02 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.879, allocations: 1.317 MB / 1.021 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.8796, allocations: 331.3 kB / 1.022 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.8797, allocations: 27.98 kB / 1.022 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.8809, allocations: 115.9 kB / 1.022 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8811, allocations: 59.7 kB / 1.022 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.8812, allocations: 43.97 kB / 1.022 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001561/0.8827, allocations: 0.8675 MB / 1.023 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8827, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001008/0.8838, allocations: 299.8 kB / 1.023 GB, free: 5.211 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.000711/0.8845, allocations: 354.3 kB / 1.023 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002619/0.8871, allocations: 1.072 MB / 1.024 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8871, allocations: 0 / 1.024 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8881, allocations: 0.5322 MB / 1.025 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.8908, allocations: 0.5507 MB / 1.025 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.8946, allocations: 2.063 MB / 1.027 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.8953, allocations: 1.073 MB / 1.028 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009874/0.8963, allocations: 286.7 kB / 1.029 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.8966, allocations: 83.41 kB / 1.029 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.8966, allocations: 3.938 kB / 1.029 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.03404/0.9306, allocations: 22.3 MB / 1.051 GB, free: 9.098 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)