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.00134/0.00134, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001356/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.692/1.692, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005293/0.0005294, allocations: 21.28 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6914/0.968, allocations: 162 MB / 0.9453 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.9792, allocations: 6.245 MB / 0.9514 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.9813, allocations: 37.19 kB / 0.9514 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.9836, allocations: 0.6637 MB / 0.9521 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006081/0.9897, allocations: 1.634 MB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.9945, allocations: 1.537 MB / 0.9552 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003625/0.9981, allocations: 1.668 MB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.9994, allocations: 0.6924 MB / 0.9575 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/1.002, allocations: 0.9093 MB / 0.9584 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009554/1.003, allocations: 0.5464 MB / 0.9589 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/1.003, allocations: 43.34 kB / 0.9589 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/1.006, allocations: 1.171 MB / 0.9601 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/1.007, allocations: 289.4 kB / 0.9604 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006351/1.007, allocations: 237 kB / 0.9606 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/1.01, allocations: 1.559 MB / 0.9621 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.01, allocations: 0 / 0.9621 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/1.01, allocations: 4 kB / 0.9621 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.035e-05/1.01, allocations: 1.188 kB / 0.9621 GB, free: 20.8 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.003822/1.014, allocations: 1.402 MB / 0.9635 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.014, allocations: 9.344 kB / 0.9635 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/1.017, allocations: 0.6088 MB / 0.9641 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.019, allocations: 0.9201 MB / 0.965 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/1.02, allocations: 322 kB / 0.9653 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.02, allocations: 65.94 kB / 0.9654 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/1.023, allocations: 1.164 MB / 0.9665 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/1.023, allocations: 0.7812 kB / 0.9665 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/1.023, allocations: 26.53 kB / 0.9665 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/1.023, allocations: 36.25 kB / 0.9666 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/1.026, allocations: 1.328 MB / 0.9679 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005792/1.032, allocations: 2.996 MB / 0.9708 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.034, allocations: 0.7379 MB / 0.9715 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/1.034, allocations: 0.6699 MB / 0.9722 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009754/1.035, allocations: 0.5421 MB / 0.9727 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.244e-06/1.035, allocations: 0 / 0.9727 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002914/1.038, allocations: 1.365 MB / 0.974 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/1.038, allocations: 109 kB / 0.9741 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/1.04, allocations: 1.223 MB / 0.9753 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.04, allocations: 43.42 kB / 0.9754 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/1.04, allocations: 428.6 kB / 0.9758 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/1.04, allocations: 195.8 kB / 0.9759 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/1.041, allocations: 12.69 kB / 0.976 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.041, allocations: 328.8 kB / 0.9763 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.042, allocations: 0.4901 MB / 0.9768 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/1.043, allocations: 0.6391 MB / 0.9774 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.045, allocations: 0.5508 MB / 0.9779 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.045, allocations: 3.188 kB / 0.9779 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003191/1.048, allocations: 1.313 MB / 0.9792 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/1.048, allocations: 40.78 kB / 0.9792 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.048, allocations: 3.031 kB / 0.9792 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.048, allocations: 4.875 kB / 0.9792 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/1.049, allocations: 217.5 kB / 0.9795 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.049, allocations: 7.5 kB / 0.9795 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.051, allocations: 311.3 kB / 0.9798 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/1.051, allocations: 35.64 kB / 0.9798 GB, free: 15.29 MB / 0.7325 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 ($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 (69): * Single equations (assignments): 68 * 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.0005992/1.051, allocations: 324.4 kB / 0.9801 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/1.052, allocations: 122.7 kB / 0.9802 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/1.054, allocations: 1.065 MB / 0.9813 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.054, allocations: 13.67 kB / 0.9813 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.054, allocations: 0 / 0.9813 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.054, allocations: 0 / 0.9813 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/1.058, allocations: 3.236 MB / 0.9844 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.058, allocations: 9.062 kB / 0.9844 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/1.059, allocations: 132.2 kB / 0.9846 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/1.059, allocations: 11.03 kB / 0.9846 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/1.059, allocations: 25.3 kB / 0.9846 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/1.059, allocations: 17.64 kB / 0.9846 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.059, allocations: 14.81 kB / 0.9846 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.062, allocations: 1.724 MB / 0.9863 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/1.062, allocations: 340 kB / 0.9866 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.062, allocations: 21.56 kB / 0.9867 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.064, allocations: 128.6 kB / 0.9868 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.064, allocations: 63.14 kB / 0.9868 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/1.064, allocations: 39.94 kB / 0.9869 GB, free: 12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00151/1.065, allocations: 0.8881 MB / 0.9877 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.065, allocations: 0 / 0.9877 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001054/1.066, allocations: 306.5 kB / 0.988 GB, free: 11.71 MB / 0.7325 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 (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.0007534/1.067, allocations: 370.8 kB / 0.9884 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002409/1.07, allocations: 1.08 MB / 0.9894 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.07, allocations: 0 / 0.9894 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008979/1.07, allocations: 0.5427 MB / 0.99 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.073, allocations: 0.519 MB / 0.9905 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/1.077, allocations: 2.322 MB / 0.9928 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/1.078, allocations: 1.098 MB / 0.9938 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001226/1.079, allocations: 282.4 kB / 0.9941 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/1.079, allocations: 82.34 kB / 0.9942 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/1.079, allocations: 6.781 kB / 0.9942 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.0337/1.113, allocations: 21.1 MB / 1.015 GB, free: 10.17 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: