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.00155/0.001551, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.001574/0.001574, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8349/0.8349, allocations: 135.2 MB / 425.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3622, allocations: 80.92 MB / 0.5846 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.555/0.9173, allocations: 191.5 MB / 0.7715 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00976/0.9271, allocations: 6.88 MB / 0.7782 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.9292, allocations: 41.66 kB / 0.7783 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.9311, allocations: 0.5933 MB / 0.7789 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.9375, allocations: 2.195 MB / 0.781 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003623/0.9411, allocations: 1.313 MB / 0.7823 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004449/0.9456, allocations: 2.998 MB / 0.7852 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.9472, allocations: 0.9095 MB / 0.7861 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.9503, allocations: 1.16 MB / 0.7872 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.9521, allocations: 0.8386 MB / 0.7881 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.9523, allocations: 100.5 kB / 0.7882 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.9561, allocations: 2.132 MB / 0.7902 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004154/0.9566, allocations: 372.9 kB / 0.7906 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000754/0.9573, allocations: 0.5901 MB / 0.7912 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.9598, allocations: 1.806 MB / 0.7929 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9598, allocations: 0 / 0.7929 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9599, allocations: 0 / 0.7929 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.9599, allocations: 7.375 kB / 0.7929 GB, free: 1.328 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.00342/0.9633, allocations: 1.63 MB / 0.7945 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9634, allocations: 11.77 kB / 0.7945 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.9664, allocations: 0.5304 MB / 0.7951 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.9686, allocations: 0.9962 MB / 0.796 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.9696, allocations: 276.5 kB / 0.7963 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.9698, allocations: 65.12 kB / 0.7964 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.9722, allocations: 1.13 MB / 0.7975 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.9722, allocations: 0 / 0.7975 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.9723, allocations: 27.31 kB / 0.7975 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.9724, allocations: 31.34 kB / 0.7975 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.9753, allocations: 1.203 MB / 0.7987 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006009/0.9813, allocations: 3.211 MB / 0.8018 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.9829, allocations: 0.6866 MB / 0.8025 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.9836, allocations: 419.1 kB / 0.8029 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.9846, allocations: 1.024 MB / 0.8039 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.9857, allocations: 0.5127 MB / 0.8044 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.775e-06/0.9857, allocations: 0 / 0.8044 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003063/0.9888, allocations: 1.224 MB / 0.8056 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.9889, allocations: 142.2 kB / 0.8057 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.9909, allocations: 1.203 MB / 0.8069 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.991, allocations: 37.61 kB / 0.8069 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.9914, allocations: 435.9 kB / 0.8074 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.9916, allocations: 192.4 kB / 0.8075 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.9919, allocations: 146.2 kB / 0.8077 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.992, allocations: 331.6 kB / 0.808 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.9932, allocations: 460.4 kB / 0.8084 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.9946, allocations: 0.6118 MB / 0.809 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.9967, allocations: 0.9475 MB / 0.81 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.9967, allocations: 2.281 kB / 0.81 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003298/1, allocations: 1.229 MB / 0.8112 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/1, allocations: 38.89 kB / 0.8112 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1, allocations: 9.781 kB / 0.8112 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1, allocations: 7.75 kB / 0.8112 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/1.001, allocations: 194.6 kB / 0.8114 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.001, allocations: 10.77 kB / 0.8114 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.003, allocations: 271.7 kB / 0.8117 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/1.003, allocations: 36.33 kB / 0.8117 GB, free: 12.02 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.0006093/1.004, allocations: 330.7 kB / 0.812 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/1.004, allocations: 121.3 kB / 0.8121 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/1.006, allocations: 1.002 MB / 0.8131 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/1.006, allocations: 5.375 kB / 0.8131 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/1.006, allocations: 2.438 kB / 0.8131 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.006, allocations: 3.094 kB / 0.8131 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/1.011, allocations: 3.156 MB / 0.8162 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.011, allocations: 20.41 kB / 0.8162 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/1.012, allocations: 121.6 kB / 0.8163 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/1.012, allocations: 10.47 kB / 0.8164 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.432e-05/1.012, allocations: 26.02 kB / 0.8164 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/1.012, allocations: 19.91 kB / 0.8164 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/1.012, allocations: 10.88 kB / 0.8164 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/1.014, allocations: 1.33 MB / 0.8177 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/1.015, allocations: 335.5 kB / 0.818 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/1.015, allocations: 23.31 kB / 0.818 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.016, allocations: 112.2 kB / 0.8182 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.016, allocations: 58.56 kB / 0.8182 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/1.016, allocations: 45.34 kB / 0.8183 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001563/1.018, allocations: 0.8693 MB / 0.8191 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.018, allocations: 4 kB / 0.8191 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001136/1.019, allocations: 298.5 kB / 0.8194 GB, free: 9.535 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.0008021/1.02, allocations: 344.8 kB / 0.8197 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002655/1.023, allocations: 1.062 MB / 0.8208 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.023, allocations: 1.875 kB / 0.8208 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/1.024, allocations: 0.5082 MB / 0.8213 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/1.027, allocations: 0.5502 MB / 0.8218 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/1.03, allocations: 2.389 MB / 0.8241 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/1.031, allocations: 1.065 MB / 0.8252 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/1.032, allocations: 93.2 kB / 0.8253 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/1.032, allocations: 0 / 0.8253 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.03176/1.063, allocations: 18.74 MB / 0.8436 GB, free: 3.859 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)