Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001292/0.001292, allocations: 109.1 kB / 15.99 MB, free: 5.914 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.001227/0.001227, allocations: 186.8 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.787/0.787, allocations: 135.1 MB / 425.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 0.5055 GB, free: 8.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4877/0.827, allocations: 191.5 MB / 0.7715 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009263/0.8363, allocations: 6.877 MB / 0.7782 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.838, allocations: 42.47 kB / 0.7782 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.8397, allocations: 0.5967 MB / 0.7788 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00589/0.8456, allocations: 2.193 MB / 0.781 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.849, allocations: 1.311 MB / 0.7822 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.853, allocations: 3.002 MB / 0.7852 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.8544, allocations: 0.9132 MB / 0.7861 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.8573, allocations: 1.154 MB / 0.7872 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.8589, allocations: 0.8443 MB / 0.788 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.8591, allocations: 98.28 kB / 0.7881 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.8629, allocations: 2.134 MB / 0.7902 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.8633, allocations: 375 kB / 0.7906 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.8641, allocations: 0.5875 MB / 0.7911 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.8664, allocations: 1.806 MB / 0.7929 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8664, allocations: 0.9062 kB / 0.7929 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8664, allocations: 0 / 0.7929 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.8664, allocations: 0 / 0.7929 GB, free: 1.367 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003351/0.8698, allocations: 1.628 MB / 0.7945 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8698, allocations: 12.55 kB / 0.7945 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.8727, allocations: 0.5351 MB / 0.795 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.8747, allocations: 0.985 MB / 0.796 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/0.8758, allocations: 281.7 kB / 0.7962 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.8759, allocations: 71.19 kB / 0.7963 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.8782, allocations: 1.121 MB / 0.7974 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.8782, allocations: 0.7812 kB / 0.7974 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.8783, allocations: 28.62 kB / 0.7974 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.8783, allocations: 35.67 kB / 0.7975 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.8813, allocations: 1.201 MB / 0.7986 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005619/0.8869, allocations: 3.209 MB / 0.8018 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.8885, allocations: 0.6881 MB / 0.8024 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.8892, allocations: 419.9 kB / 0.8028 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/0.8901, allocations: 1.029 MB / 0.8039 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009276/0.891, allocations: 0.5135 MB / 0.8044 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.574e-06/0.891, allocations: 0 / 0.8044 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002767/0.8938, allocations: 1.227 MB / 0.8056 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.8939, allocations: 136.5 kB / 0.8057 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.8958, allocations: 1.201 MB / 0.8069 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.8959, allocations: 38.48 kB / 0.8069 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.8962, allocations: 444 kB / 0.8073 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.8964, allocations: 187.6 kB / 0.8075 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.8967, allocations: 148.2 kB / 0.8076 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8968, allocations: 332.3 kB / 0.808 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.898, allocations: 460 kB / 0.8084 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.8993, allocations: 0.6094 MB / 0.809 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.9012, allocations: 0.9481 MB / 0.8099 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9012, allocations: 4 kB / 0.8099 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003202/0.9044, allocations: 1.226 MB / 0.8111 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.9045, allocations: 40.66 kB / 0.8112 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.9045, allocations: 2.562 kB / 0.8112 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9046, allocations: 8.5 kB / 0.8112 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.9055, allocations: 196.2 kB / 0.8114 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9055, allocations: 10.45 kB / 0.8114 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9072, allocations: 268.1 kB / 0.8116 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/0.9073, allocations: 36.02 kB / 0.8117 GB, free: 12.06 MB / 0.5919 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 (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 (67): * Single equations (assignments): 66 * 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.000577/0.9079, allocations: 340.2 kB / 0.812 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.9081, allocations: 114.3 kB / 0.8121 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.91, allocations: 0.9924 MB / 0.8131 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.9101, allocations: 13.23 kB / 0.8131 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9101, allocations: 4 kB / 0.8131 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.9101, allocations: 2.906 kB / 0.8131 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.9146, allocations: 3.164 MB / 0.8162 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.9147, allocations: 12.19 kB / 0.8162 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.9153, allocations: 119.7 kB / 0.8163 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.9153, allocations: 8.5 kB / 0.8163 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.9154, allocations: 26.72 kB / 0.8163 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.9154, allocations: 15.52 kB / 0.8163 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.9154, allocations: 13.66 kB / 0.8164 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.9176, allocations: 1.34 MB / 0.8177 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.9182, allocations: 328.8 kB / 0.818 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.9183, allocations: 26.84 kB / 0.818 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9195, allocations: 119.7 kB / 0.8181 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.9196, allocations: 57.8 kB / 0.8182 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.9198, allocations: 42.95 kB / 0.8182 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001508/0.9213, allocations: 0.8672 MB / 0.8191 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9213, allocations: 0 / 0.8191 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001112/0.9224, allocations: 299.7 kB / 0.8193 GB, free: 9.523 MB / 0.5919 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 (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.0007315/0.9232, allocations: 347.9 kB / 0.8197 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002588/0.9257, allocations: 1.059 MB / 0.8207 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.9258, allocations: 1.312 kB / 0.8207 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.9267, allocations: 0.5092 MB / 0.8212 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.9296, allocations: 0.5575 MB / 0.8218 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.9333, allocations: 2.383 MB / 0.8241 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.9339, allocations: 1.069 MB / 0.8251 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.9343, allocations: 94.89 kB / 0.8252 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.9343, allocations: 4 kB / 0.8252 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.02778/0.9621, allocations: 18.72 MB / 0.8435 GB, free: 3.844 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)