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.005224/0.005224, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001169/0.00117, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9739/0.9739, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 63.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4578, allocations: 80.91 MB / 0.6646 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2331/0.691, allocations: 194 MB / 0.8541 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.7027, allocations: 6.933 MB / 0.8609 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.7048, allocations: 47.69 kB / 0.8609 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.7068, allocations: 0.7065 MB / 0.8616 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006438/0.7132, allocations: 2.442 MB / 0.864 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.7169, allocations: 1.423 MB / 0.8654 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.7212, allocations: 3.002 MB / 0.8683 GB, free: 428 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.454/1.175, allocations: 0.8788 MB / 0.8692 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/1.179, allocations: 1.156 MB / 0.8703 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/1.181, allocations: 0.7956 MB / 0.8711 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/1.181, allocations: 98.97 kB / 0.8712 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004559/1.186, allocations: 2.068 MB / 0.8732 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005104/1.186, allocations: 369.3 kB / 0.8735 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008288/1.187, allocations: 0.5878 MB / 0.8741 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004647/1.192, allocations: 2.416 MB / 0.8765 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.192, allocations: 0 / 0.8765 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.374e-06/1.192, allocations: 0.8438 kB / 0.8765 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.989e-05/1.192, allocations: 0.9375 kB / 0.8765 GB, free: 4.598 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.003689/1.195, allocations: 1.639 MB / 0.8781 GB, free: 19.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.195, allocations: 9.219 kB / 0.8781 GB, free: 19.76 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/1.199, allocations: 0.535 MB / 0.8786 GB, free: 19.7 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/1.201, allocations: 1.036 MB / 0.8796 GB, free: 19.37 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/1.201, allocations: 52.91 kB / 0.8797 GB, free: 19.37 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/1.201, allocations: 70.03 kB / 0.8797 GB, free: 19.37 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/1.204, allocations: 1.105 MB / 0.8808 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.204, allocations: 5.188 kB / 0.8808 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.204, allocations: 30.53 kB / 0.8808 GB, free: 19.26 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/1.204, allocations: 38.73 kB / 0.8809 GB, free: 19.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/1.207, allocations: 1.161 MB / 0.882 GB, free: 19.25 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/1.213, allocations: 3.155 MB / 0.8851 GB, free: 18.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/1.214, allocations: 0.6927 MB / 0.8858 GB, free: 18.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/1.215, allocations: 426.3 kB / 0.8862 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009723/1.216, allocations: 1.022 MB / 0.8872 GB, free: 17.17 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/1.217, allocations: 0.517 MB / 0.8877 GB, free: 17.06 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.274e-06/1.217, allocations: 0 / 0.8877 GB, free: 17.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003162/1.221, allocations: 1.221 MB / 0.8889 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/1.221, allocations: 142.8 kB / 0.889 GB, free: 16.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.223, allocations: 1.181 MB / 0.8902 GB, free: 16.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.223, allocations: 38.58 kB / 0.8902 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/1.223, allocations: 433.5 kB / 0.8906 GB, free: 16.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/1.223, allocations: 193.2 kB / 0.8908 GB, free: 16.35 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/1.223, allocations: 147.2 kB / 0.8909 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.224, allocations: 331.2 kB / 0.8913 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.225, allocations: 439.2 kB / 0.8917 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/1.226, allocations: 0.6057 MB / 0.8923 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/1.228, allocations: 0.9294 MB / 0.8932 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/1.228, allocations: 1.438 kB / 0.8932 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00318/1.231, allocations: 1.196 MB / 0.8943 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/1.231, allocations: 40.86 kB / 0.8944 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.232, allocations: 3.438 kB / 0.8944 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.232, allocations: 7.625 kB / 0.8944 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/1.233, allocations: 185.8 kB / 0.8946 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.233, allocations: 10 kB / 0.8946 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.234, allocations: 238.8 kB / 0.8948 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/1.234, allocations: 38.97 kB / 0.8948 GB, free: 15.5 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.0005424/1.235, allocations: 326.1 kB / 0.8952 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/1.235, allocations: 115.8 kB / 0.8953 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/1.237, allocations: 0.9917 MB / 0.8962 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.237, allocations: 13.14 kB / 0.8962 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.237, allocations: 1.969 kB / 0.8962 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/1.237, allocations: 10.17 kB / 0.8963 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/1.242, allocations: 3.158 MB / 0.8993 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.242, allocations: 13.66 kB / 0.8994 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/1.243, allocations: 123.1 kB / 0.8995 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/1.243, allocations: 10.16 kB / 0.8995 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/1.243, allocations: 24.48 kB / 0.8995 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/1.243, allocations: 13.31 kB / 0.8995 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.243, allocations: 13.92 kB / 0.8995 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/1.245, allocations: 1.336 MB / 0.9008 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/1.246, allocations: 331 kB / 0.9012 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.246, allocations: 23.73 kB / 0.9012 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.248, allocations: 104.9 kB / 0.9013 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.248, allocations: 59.81 kB / 0.9013 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/1.248, allocations: 41.92 kB / 0.9014 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001714/1.249, allocations: 0.8481 MB / 0.9022 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/1.25, allocations: 3.844 kB / 0.9022 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00173/1.251, allocations: 298 kB / 0.9025 GB, free: 13.57 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.001048/1.252, allocations: 340.2 kB / 0.9028 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002502/1.255, allocations: 1.016 MB / 0.9038 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.255, allocations: 0 / 0.9038 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009165/1.256, allocations: 0.5116 MB / 0.9043 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.259, allocations: 0.5592 MB / 0.9049 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/1.263, allocations: 2.036 MB / 0.9068 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.264, allocations: 1.068 MB / 0.9079 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001134/1.265, allocations: 271.6 kB / 0.9081 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.265, allocations: 84 kB / 0.9082 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of SimCode: time 4.8e-07/1.265, allocations: 0 / 0.9082 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.03603/1.302, allocations: 22.18 MB / 0.9299 GB, free: 6.16 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)