Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008236/0.0008237, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008742/0.0008742, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6614/0.6614, allocations: 132.4 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 12 kB / 0.5034 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3297, allocations: 81.57 MB / 0.5831 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1631/0.4928, allocations: 176.6 MB / 0.7555 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008099/0.501, allocations: 6.547 MB / 0.7619 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.5021, allocations: 39.69 kB / 0.762 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.5034, allocations: 476.8 kB / 0.7624 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.5074, allocations: 1.682 MB / 0.7641 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.51, allocations: 1.079 MB / 0.7651 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00356/0.5135, allocations: 3.204 MB / 0.7682 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.5147, allocations: 0.6931 MB / 0.7689 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.5164, allocations: 0.9492 MB / 0.7699 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.5176, allocations: 0.7391 MB / 0.7706 GB, free: 32 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.5178, allocations: 43.98 kB / 0.7706 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.5203, allocations: 1.22 MB / 0.7718 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.5208, allocations: 303 kB / 0.7721 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.5211, allocations: 237.1 kB / 0.7723 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.5229, allocations: 1.617 MB / 0.7739 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.5229, allocations: 0 / 0.7739 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5229, allocations: 4 kB / 0.7739 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.413e-05/0.523, allocations: 0 / 0.7739 GB, free: 12.61 MB / 0.6075 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.002808/0.5258, allocations: 1.399 MB / 0.7753 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.207e-05/0.5258, allocations: 12.03 kB / 0.7753 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.5283, allocations: 0.5957 MB / 0.7759 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.53, allocations: 0.9603 MB / 0.7768 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000938/0.5309, allocations: 321 kB / 0.7771 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.531, allocations: 68 kB / 0.7772 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.5331, allocations: 1.14 MB / 0.7783 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5331, allocations: 3.938 kB / 0.7783 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.5332, allocations: 31.98 kB / 0.7783 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.5333, allocations: 33.31 kB / 0.7784 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.536, allocations: 1.25 MB / 0.7796 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004645/0.5406, allocations: 3.237 MB / 0.7827 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.542, allocations: 0.7041 MB / 0.7834 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.5427, allocations: 432.1 kB / 0.7838 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/0.5435, allocations: 1.013 MB / 0.7848 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008406/0.5443, allocations: 0.526 MB / 0.7853 GB, free: 444 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.185e-06/0.5443, allocations: 0 / 0.7853 GB, free: 444 kB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002389/0.5467, allocations: 1.233 MB / 0.7865 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.5468, allocations: 144.9 kB / 0.7867 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.5484, allocations: 1.211 MB / 0.7879 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.5485, allocations: 41.69 kB / 0.7879 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.5488, allocations: 441.4 kB / 0.7883 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5489, allocations: 189.3 kB / 0.7885 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.549, allocations: 12 kB / 0.7885 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5491, allocations: 333.9 kB / 0.7888 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.5502, allocations: 492.8 kB / 0.7893 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.5514, allocations: 0.6367 MB / 0.7899 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5525, allocations: 0.5385 MB / 0.7905 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5525, allocations: 0 / 0.7905 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002596/0.5551, allocations: 1.283 MB / 0.7917 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.5552, allocations: 37.69 kB / 0.7917 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5552, allocations: 7.938 kB / 0.7917 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5552, allocations: 4 kB / 0.7918 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.556, allocations: 216 kB / 0.792 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5561, allocations: 4 kB / 0.792 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.5573, allocations: 306.9 kB / 0.7923 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.5574, allocations: 35.97 kB / 0.7923 GB, free: 9.168 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * 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.0003646/0.5578, allocations: 324.8 kB / 0.7926 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5579, allocations: 118.6 kB / 0.7927 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.5597, allocations: 1.008 MB / 0.7937 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.5597, allocations: 15.98 kB / 0.7937 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5598, allocations: 4 kB / 0.7937 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5598, allocations: 0 / 0.7937 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.5638, allocations: 3.171 MB / 0.7968 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5638, allocations: 8 kB / 0.7968 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.5644, allocations: 128.2 kB / 0.7969 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.5644, allocations: 8 kB / 0.7969 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.5644, allocations: 27.98 kB / 0.797 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.5644, allocations: 11.94 kB / 0.797 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.02e-05/0.5645, allocations: 15.89 kB / 0.797 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.5663, allocations: 1.364 MB / 0.7983 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.5667, allocations: 335.2 kB / 0.7987 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5668, allocations: 23.98 kB / 0.7987 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.5677, allocations: 123.9 kB / 0.7988 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.5678, allocations: 59.8 kB / 0.7989 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.5679, allocations: 43.97 kB / 0.7989 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001257/0.5692, allocations: 0.8794 MB / 0.7998 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5692, allocations: 0 / 0.7998 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008284/0.57, allocations: 291.9 kB / 0.8 GB, free: 0.918 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (56): * Single equations (assignments): 51 * 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.0005233/0.5706, allocations: 347.7 kB / 0.8004 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.5725, allocations: 1.049 MB / 0.8014 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5725, allocations: 4 kB / 0.8014 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.5733, allocations: 0.5242 MB / 0.8019 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.5755, allocations: 0.5281 MB / 0.8024 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.5785, allocations: 2.291 MB / 0.8047 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.5791, allocations: 1.073 MB / 0.8057 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009182/0.58, allocations: 275.8 kB / 0.806 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.5802, allocations: 75.42 kB / 0.806 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.5802, allocations: 0 / 0.806 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.24/0.8202, allocations: 20.58 MB / 0.8261 GB, free: 214.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)