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.001407/0.001407, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 205.1 MB / 222.4 MB, free: 4.551 MB / 174.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.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001432/0.001432, allocations: 67.12 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6009/0.8295, allocations: 194 MB / 0.9728 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00992/0.8395, allocations: 6.882 MB / 0.9795 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.841, allocations: 45.81 kB / 0.9796 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.8428, allocations: 0.6944 MB / 0.9803 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006762/0.8496, allocations: 2.286 MB / 0.9825 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004436/0.854, allocations: 1.427 MB / 0.9839 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005268/0.8593, allocations: 2.909 MB / 0.9867 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.8609, allocations: 0.9128 MB / 0.9876 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.8638, allocations: 1.14 MB / 0.9887 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.8651, allocations: 0.8073 MB / 0.9895 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.8653, allocations: 106.2 kB / 0.9896 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.8695, allocations: 2.051 MB / 0.9916 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.8699, allocations: 373.3 kB / 0.992 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.8705, allocations: 0.5896 MB / 0.9926 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.874, allocations: 2.409 MB / 0.9949 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8741, allocations: 0 / 0.9949 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8741, allocations: 0 / 0.9949 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.8741, allocations: 0 / 0.9949 GB, free: 9.184 MB / 0.7325 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.003495/0.8776, allocations: 1.661 MB / 0.9965 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.8776, allocations: 14.19 kB / 0.9965 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.8806, allocations: 0.5323 MB / 0.9971 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.8827, allocations: 0.994 MB / 0.998 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/0.8839, allocations: 277.4 kB / 0.9983 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.884, allocations: 67.69 kB / 0.9984 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.8865, allocations: 1.157 MB / 0.9995 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.8865, allocations: 3.938 kB / 0.9995 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/0.8866, allocations: 27.38 kB / 0.9995 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.8867, allocations: 30.39 kB / 0.9995 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/0.89, allocations: 1.279 MB / 1.001 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/0.8955, allocations: 2.935 MB / 1.004 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.8973, allocations: 0.716 MB / 1.004 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/0.8981, allocations: 452.4 kB / 1.005 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/0.899, allocations: 1.021 MB / 1.006 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.9, allocations: 0.5315 MB / 1.006 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.184e-06/0.9001, allocations: 0 / 1.006 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.003089/0.9031, allocations: 1.274 MB / 1.008 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.9032, allocations: 119 kB / 1.008 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.9052, allocations: 1.188 MB / 1.009 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/0.9053, allocations: 45.11 kB / 1.009 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.9057, allocations: 434.3 kB / 1.009 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.9058, allocations: 198.4 kB / 1.009 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.9061, allocations: 151.4 kB / 1.01 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9062, allocations: 333.6 kB / 1.01 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.9076, allocations: 477.6 kB / 1.01 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.9092, allocations: 0.6119 MB / 1.011 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.9114, allocations: 0.9632 MB / 1.012 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9114, allocations: 0 / 1.012 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003434/0.9148, allocations: 1.265 MB / 1.013 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.9149, allocations: 39.92 kB / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9149, allocations: 2.375 kB / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.9149, allocations: 4.812 kB / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000986/0.9159, allocations: 208.9 kB / 1.013 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.916, allocations: 8.922 kB / 1.013 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.9178, allocations: 265.2 kB / 1.014 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.722e-05/0.9179, allocations: 37.81 kB / 1.014 GB, free: 12.83 MB / 0.7481 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.0006101/0.9185, allocations: 331.9 kB / 1.014 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.9187, allocations: 120 kB / 1.014 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.9209, allocations: 1.052 MB / 1.015 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.9209, allocations: 15.28 kB / 1.015 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9209, allocations: 0 / 1.015 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.9209, allocations: 3.984 kB / 1.015 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/0.9257, allocations: 3.21 MB / 1.018 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.9258, allocations: 7.781 kB / 1.018 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.9264, allocations: 128.1 kB / 1.018 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.9264, allocations: 10.19 kB / 1.018 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.9265, allocations: 26.95 kB / 1.018 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/0.9265, allocations: 17.98 kB / 1.018 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/0.9266, allocations: 17.98 kB / 1.019 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.9291, allocations: 1.316 MB / 1.02 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.9296, allocations: 341.8 kB / 1.02 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.9298, allocations: 28.61 kB / 1.02 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.9309, allocations: 110 kB / 1.02 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.9311, allocations: 65.44 kB / 1.02 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/0.9311, allocations: 43.56 kB / 1.02 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001584/0.9327, allocations: 0.8633 MB / 1.021 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9327, allocations: 3.938 kB / 1.021 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001064/0.9338, allocations: 306.8 kB / 1.022 GB, free: 7.738 MB / 0.7481 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.0006471/0.9345, allocations: 344.3 kB / 1.022 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.937, allocations: 1.09 MB / 1.023 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.937, allocations: 1.812 kB / 1.023 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.938, allocations: 0.5329 MB / 1.023 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.9406, allocations: 0.5511 MB / 1.024 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.9444, allocations: 2.091 MB / 1.026 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.945, allocations: 1.069 MB / 1.027 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001162/0.9462, allocations: 290.3 kB / 1.027 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.9464, allocations: 83.39 kB / 1.027 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/0.9464, allocations: 0 / 1.027 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of Templates: time 0.03433/0.9808, allocations: 22.32 MB / 1.049 GB, free: 12.57 MB / 0.7794 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)