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.001308/0.001308, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001266/0.001266, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.818/0.818, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 80.17 MB / 0.5815 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.566/0.913, allocations: 194 MB / 0.7709 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00955/0.9226, allocations: 6.925 MB / 0.7777 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.924, allocations: 45.97 kB / 0.7777 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.9256, allocations: 0.6847 MB / 0.7784 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.9311, allocations: 2.332 MB / 0.7807 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.9343, allocations: 1.429 MB / 0.7821 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004534/0.9389, allocations: 2.994 MB / 0.785 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.9403, allocations: 0.8918 MB / 0.7859 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.9433, allocations: 1.131 MB / 0.787 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.9447, allocations: 0.8 MB / 0.7878 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.9448, allocations: 101.6 kB / 0.7879 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00522/0.9501, allocations: 2.063 MB / 0.7899 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006108/0.9507, allocations: 368.1 kB / 0.7902 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.9518, allocations: 0.5877 MB / 0.7908 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005357/0.9572, allocations: 2.416 MB / 0.7932 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.9572, allocations: 3.281 kB / 0.7932 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9572, allocations: 0.875 kB / 0.7932 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.9572, allocations: 0 / 0.7932 GB, free: 1.145 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.003802/0.961, allocations: 1.632 MB / 0.7948 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.9611, allocations: 7.344 kB / 0.7948 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/0.9639, allocations: 0.5315 MB / 0.7953 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.9662, allocations: 1.043 MB / 0.7963 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.9662, allocations: 64.02 kB / 0.7964 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.9664, allocations: 69.75 kB / 0.7964 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.9686, allocations: 1.106 MB / 0.7975 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.9686, allocations: 0 / 0.7975 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.9687, allocations: 28.53 kB / 0.7975 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.9687, allocations: 32.28 kB / 0.7976 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.9714, allocations: 1.163 MB / 0.7987 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.9767, allocations: 3.164 MB / 0.8018 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.9783, allocations: 0.6852 MB / 0.8025 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.979, allocations: 427 kB / 0.8029 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/0.9799, allocations: 1.018 MB / 0.8039 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009295/0.9808, allocations: 0.5178 MB / 0.8044 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.896e-06/0.9808, allocations: 0.9375 kB / 0.8044 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002737/0.9836, allocations: 1.219 MB / 0.8056 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.9837, allocations: 144.8 kB / 0.8057 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.9853, allocations: 1.178 MB / 0.8069 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.9854, allocations: 36.14 kB / 0.8069 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.9857, allocations: 443.8 kB / 0.8073 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.9859, allocations: 192.7 kB / 0.8075 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.9862, allocations: 143.2 kB / 0.8076 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9863, allocations: 333.4 kB / 0.808 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.9873, allocations: 441.5 kB / 0.8084 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.9886, allocations: 0.592 MB / 0.809 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.9905, allocations: 0.9283 MB / 0.8099 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.9905, allocations: 0 / 0.8099 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002827/0.9933, allocations: 1.195 MB / 0.811 GB, free: 12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.9934, allocations: 38.78 kB / 0.8111 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9934, allocations: 4.781 kB / 0.8111 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.9934, allocations: 6 kB / 0.8111 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.9943, allocations: 191.5 kB / 0.8113 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9943, allocations: 6.719 kB / 0.8113 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.9958, allocations: 237.9 kB / 0.8115 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/0.9959, allocations: 38.22 kB / 0.8115 GB, free: 11.91 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.000538/0.9965, allocations: 334.6 kB / 0.8118 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.9967, allocations: 116.8 kB / 0.812 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.9986, allocations: 0.9949 MB / 0.8129 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.9987, allocations: 8.078 kB / 0.8129 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9987, allocations: 2.875 kB / 0.8129 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9987, allocations: 7 kB / 0.8129 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/1.003, allocations: 3.159 MB / 0.816 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.003, allocations: 4.719 kB / 0.816 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/1.004, allocations: 126.4 kB / 0.8162 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.004, allocations: 13.88 kB / 0.8162 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/1.004, allocations: 27.83 kB / 0.8162 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/1.004, allocations: 15.73 kB / 0.8162 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.004, allocations: 10.03 kB / 0.8162 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/1.006, allocations: 1.337 MB / 0.8175 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/1.007, allocations: 334.5 kB / 0.8178 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.007, allocations: 26.31 kB / 0.8179 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.008, allocations: 100.7 kB / 0.818 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.008, allocations: 58.05 kB / 0.818 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/1.008, allocations: 40.56 kB / 0.8181 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001391/1.009, allocations: 0.8471 MB / 0.8189 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.009, allocations: 4 kB / 0.8189 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001077/1.01, allocations: 305.2 kB / 0.8192 GB, free: 9.34 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.0006365/1.011, allocations: 333.8 kB / 0.8195 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.013, allocations: 1.028 MB / 0.8205 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.013, allocations: 5.281 kB / 0.8205 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.014, allocations: 0.5069 MB / 0.821 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.017, allocations: 0.5495 MB / 0.8215 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/1.02, allocations: 2.032 MB / 0.8235 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/1.021, allocations: 1.074 MB / 0.8246 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009757/1.022, allocations: 273.1 kB / 0.8248 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/1.022, allocations: 76.02 kB / 0.8249 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/1.022, allocations: 0 / 0.8249 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.0344/1.057, allocations: 22.02 MB / 0.8464 GB, free: 0.8945 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)