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.008499/0.008499, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002034/0.002034, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.261/1.261, allocations: 135.6 MB / 426.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 59.91 kB / 0.5862 GB, free: 2.723 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4635, allocations: 81.02 MB / 0.6654 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2473/0.7108, allocations: 194 MB / 0.8548 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.7235, allocations: 6.94 MB / 0.8616 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.7257, allocations: 43.69 kB / 0.8616 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.7284, allocations: 0.687 MB / 0.8623 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.7358, allocations: 2.33 MB / 0.8646 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.7397, allocations: 1.425 MB / 0.866 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.4003/1.14, allocations: 2.98 MB / 0.8689 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/1.143, allocations: 0.897 MB / 0.8698 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/1.147, allocations: 1.142 MB / 0.8709 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/1.149, allocations: 0.7925 MB / 0.8716 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/1.15, allocations: 101.2 kB / 0.8717 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006616/1.156, allocations: 2.057 MB / 0.8738 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/1.157, allocations: 368.7 kB / 0.8741 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001899/1.159, allocations: 0.5858 MB / 0.8747 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006839/1.166, allocations: 2.434 MB / 0.8771 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.166, allocations: 0 / 0.8771 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.455e-06/1.166, allocations: 0.9062 kB / 0.8771 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.38e-05/1.166, allocations: 0 / 0.8771 GB, free: 4.324 MB / 0.6856 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.006498/1.173, allocations: 1.674 MB / 0.8787 GB, free: 19.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.173, allocations: 9.375 kB / 0.8787 GB, free: 19.42 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/1.176, allocations: 0.5415 MB / 0.8792 GB, free: 19.36 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/1.179, allocations: 1.043 MB / 0.8802 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/1.179, allocations: 59.95 kB / 0.8803 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/1.179, allocations: 69.94 kB / 0.8804 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/1.182, allocations: 1.102 MB / 0.8814 GB, free: 18.9 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.183, allocations: 1.812 kB / 0.8814 GB, free: 18.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.183, allocations: 25.77 kB / 0.8815 GB, free: 18.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/1.183, allocations: 36.72 kB / 0.8815 GB, free: 18.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/1.186, allocations: 1.164 MB / 0.8826 GB, free: 18.89 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006168/1.192, allocations: 3.177 MB / 0.8857 GB, free: 17.96 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/1.194, allocations: 0.6852 MB / 0.8864 GB, free: 17.93 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/1.195, allocations: 426.6 kB / 0.8868 GB, free: 17.92 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.196, allocations: 1.022 MB / 0.8878 GB, free: 16.79 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/1.197, allocations: 0.5155 MB / 0.8883 GB, free: 16.69 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/1.197, allocations: 1.562 kB / 0.8883 GB, free: 16.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003068/1.2, allocations: 1.222 MB / 0.8895 GB, free: 16.56 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.2, allocations: 142.8 kB / 0.8897 GB, free: 16.4 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/1.202, allocations: 1.179 MB / 0.8908 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.202, allocations: 38.11 kB / 0.8908 GB, free: 16.22 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.202, allocations: 439.2 kB / 0.8913 GB, free: 16.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.203, allocations: 204.8 kB / 0.8915 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/1.203, allocations: 143.8 kB / 0.8916 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.203, allocations: 333 kB / 0.8919 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/1.204, allocations: 441.7 kB / 0.8923 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/1.206, allocations: 0.5945 MB / 0.8929 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/1.208, allocations: 0.9234 MB / 0.8938 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.208, allocations: 2.281 kB / 0.8938 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003326/1.211, allocations: 1.201 MB / 0.895 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/1.211, allocations: 42.05 kB / 0.895 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.211, allocations: 3.25 kB / 0.895 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/1.211, allocations: 4.938 kB / 0.895 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/1.212, allocations: 191.2 kB / 0.8952 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/1.212, allocations: 5.438 kB / 0.8952 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.214, allocations: 253.6 kB / 0.8955 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.214, allocations: 34.53 kB / 0.8955 GB, free: 15.11 MB / 0.7012 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.0006961/1.215, allocations: 336.9 kB / 0.8958 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/1.215, allocations: 122.8 kB / 0.8959 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/1.218, allocations: 0.9905 MB / 0.8969 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/1.218, allocations: 9.375 kB / 0.8969 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.218, allocations: 2.531 kB / 0.8969 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.218, allocations: 2.766 kB / 0.8969 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/1.223, allocations: 3.171 MB / 0.9 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.223, allocations: 8.688 kB / 0.9 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/1.223, allocations: 119.5 kB / 0.9001 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/1.223, allocations: 14.17 kB / 0.9002 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/1.223, allocations: 24.02 kB / 0.9002 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/1.223, allocations: 13.19 kB / 0.9002 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.223, allocations: 11.62 kB / 0.9002 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/1.226, allocations: 1.351 MB / 0.9015 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/1.226, allocations: 334.7 kB / 0.9018 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/1.226, allocations: 27.95 kB / 0.9019 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.228, allocations: 100.8 kB / 0.902 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.228, allocations: 62.59 kB / 0.902 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/1.228, allocations: 40.16 kB / 0.9021 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001394/1.229, allocations: 0.8471 MB / 0.9029 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/1.229, allocations: 0 / 0.9029 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001231/1.23, allocations: 302 kB / 0.9032 GB, free: 13.16 MB / 0.7012 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.0008503/1.231, allocations: 344.7 kB / 0.9035 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002195/1.234, allocations: 1.015 MB / 0.9045 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.234, allocations: 2.531 kB / 0.9045 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008086/1.234, allocations: 0.5177 MB / 0.905 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.237, allocations: 0.5477 MB / 0.9055 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/1.24, allocations: 2.053 MB / 0.9075 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/1.241, allocations: 1.071 MB / 0.9086 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001139/1.242, allocations: 279.3 kB / 0.9089 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/1.243, allocations: 81.95 kB / 0.9089 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/1.243, allocations: 0 / 0.9089 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of Templates: time 0.03672/1.279, allocations: 22.17 MB / 0.9306 GB, free: 5.625 MB / 0.7012 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)