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.001555/0.001555, allocations: 105.2 kB / 16.36 MB, free: 6.285 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.001771/0.001771, allocations: 192 kB / 17.29 MB, free: 5.863 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7971/0.7971, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3386, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5441/0.8828, allocations: 194 MB / 0.7709 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009874/0.8927, allocations: 6.915 MB / 0.7777 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.8946, allocations: 46.66 kB / 0.7777 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.8963, allocations: 0.6925 MB / 0.7784 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.9017, allocations: 2.329 MB / 0.7807 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.9049, allocations: 1.427 MB / 0.7821 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003589/0.9085, allocations: 2.987 MB / 0.785 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.9098, allocations: 0.8961 MB / 0.7859 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.9122, allocations: 1.139 MB / 0.787 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.9136, allocations: 0.7951 MB / 0.7878 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.9139, allocations: 100 kB / 0.7879 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.9173, allocations: 2.057 MB / 0.7899 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.9177, allocations: 366.2 kB / 0.7902 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008465/0.9186, allocations: 0.5919 MB / 0.7908 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.9216, allocations: 2.42 MB / 0.7932 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9216, allocations: 0.75 kB / 0.7932 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9216, allocations: 0 / 0.7932 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.9216, allocations: 0.7188 kB / 0.7932 GB, free: 1.184 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.002962/0.9246, allocations: 1.634 MB / 0.7948 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.9246, allocations: 8.438 kB / 0.7948 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.9274, allocations: 0.5336 MB / 0.7953 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.9294, allocations: 1.045 MB / 0.7963 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.9295, allocations: 52.19 kB / 0.7964 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.9296, allocations: 73.69 kB / 0.7964 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.9317, allocations: 1.104 MB / 0.7975 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.9317, allocations: 0 / 0.7975 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.9318, allocations: 30.47 kB / 0.7975 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.9318, allocations: 30.88 kB / 0.7976 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.9344, allocations: 1.164 MB / 0.7987 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.9393, allocations: 3.17 MB / 0.8018 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.9408, allocations: 0.6815 MB / 0.8025 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006761/0.9415, allocations: 421.4 kB / 0.8029 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008607/0.9424, allocations: 1.025 MB / 0.8039 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008992/0.9433, allocations: 0.5135 MB / 0.8044 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.114e-06/0.9433, allocations: 0.75 kB / 0.8044 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.00258/0.9459, allocations: 1.221 MB / 0.8056 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.946, allocations: 140.9 kB / 0.8057 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.9476, allocations: 1.177 MB / 0.8068 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.9477, allocations: 36.98 kB / 0.8069 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.948, allocations: 441.3 kB / 0.8073 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.9482, allocations: 193.7 kB / 0.8075 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.9484, allocations: 142.5 kB / 0.8076 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9486, allocations: 331.3 kB / 0.8079 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.9497, allocations: 440.3 kB / 0.8083 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.951, allocations: 0.5952 MB / 0.8089 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.9528, allocations: 0.935 MB / 0.8098 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9528, allocations: 0 / 0.8098 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002759/0.9555, allocations: 1.202 MB / 0.811 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.9556, allocations: 38.59 kB / 0.8111 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9556, allocations: 2.156 kB / 0.8111 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9556, allocations: 6.344 kB / 0.8111 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.9565, allocations: 189.2 kB / 0.8112 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.9566, allocations: 16.09 kB / 0.8113 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.9579, allocations: 238.8 kB / 0.8115 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.958, allocations: 35.27 kB / 0.8115 GB, free: 11.94 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.0004562/0.9585, allocations: 330.3 kB / 0.8118 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.9587, allocations: 118.1 kB / 0.8119 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.9606, allocations: 0.9903 MB / 0.8129 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.9606, allocations: 9.156 kB / 0.8129 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9606, allocations: 0 / 0.8129 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.9607, allocations: 5.234 kB / 0.8129 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.965, allocations: 3.158 MB / 0.816 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.965, allocations: 7.531 kB / 0.816 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.9656, allocations: 125.2 kB / 0.8161 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.9656, allocations: 11.59 kB / 0.8162 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.9656, allocations: 33.58 kB / 0.8162 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.9657, allocations: 12.64 kB / 0.8162 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.9657, allocations: 11.5 kB / 0.8162 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.9677, allocations: 1.332 MB / 0.8175 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.9682, allocations: 338 kB / 0.8178 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.9684, allocations: 23.25 kB / 0.8179 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9695, allocations: 103.7 kB / 0.8179 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.9696, allocations: 53.98 kB / 0.818 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.9697, allocations: 38.59 kB / 0.818 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001337/0.971, allocations: 0.8566 MB / 0.8189 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.971, allocations: 3.094 kB / 0.8189 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009564/0.972, allocations: 295.5 kB / 0.8192 GB, free: 9.336 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.0006229/0.9726, allocations: 352 kB / 0.8195 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.9749, allocations: 1.021 MB / 0.8205 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.9749, allocations: 9.375 kB / 0.8205 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009723/0.9759, allocations: 0.5069 MB / 0.821 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.9783, allocations: 0.5447 MB / 0.8215 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.9818, allocations: 2.032 MB / 0.8235 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.9824, allocations: 1.073 MB / 0.8246 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009153/0.9834, allocations: 275.1 kB / 0.8248 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.9836, allocations: 79.3 kB / 0.8249 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.9836, allocations: 3.938 kB / 0.8249 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of Templates: time 0.03357/1.017, allocations: 22 MB / 0.8464 GB, free: 0.9062 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)