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.001314/0.001314, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001293/0.001293, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9403/0.9403, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 70.77 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 81.01 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4254/0.5801, allocations: 191.5 MB / 0.7715 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.5925, allocations: 6.882 MB / 0.7782 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.5941, allocations: 39.69 kB / 0.7782 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.596, allocations: 0.5983 MB / 0.7788 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.6017, allocations: 2.199 MB / 0.781 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.6049, allocations: 1.309 MB / 0.7822 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.6089, allocations: 2.99 MB / 0.7852 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6102, allocations: 0.9159 MB / 0.7861 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.6128, allocations: 1.159 MB / 0.7872 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.6143, allocations: 0.8402 MB / 0.788 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.6144, allocations: 100 kB / 0.7881 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.6181, allocations: 2.139 MB / 0.7902 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000401/0.6185, allocations: 363 kB / 0.7905 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.6192, allocations: 0.5986 MB / 0.7911 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.6227, allocations: 2.493 MB / 0.7936 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6228, allocations: 0 / 0.7936 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6228, allocations: 0 / 0.7936 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.6228, allocations: 0 / 0.7936 GB, free: 6.227 MB / 0.6075 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.003249/0.626, allocations: 1.625 MB / 0.7951 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6261, allocations: 12.03 kB / 0.7952 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.629, allocations: 0.5371 MB / 0.7957 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.631, allocations: 0.9946 MB / 0.7967 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/0.6322, allocations: 269.1 kB / 0.7969 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.6323, allocations: 68 kB / 0.797 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.6349, allocations: 1.132 MB / 0.7981 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6349, allocations: 0 / 0.7981 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.635, allocations: 28 kB / 0.7981 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.635, allocations: 29.31 kB / 0.7981 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.6382, allocations: 1.207 MB / 0.7993 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005853/0.6441, allocations: 3.192 MB / 0.8024 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.6458, allocations: 0.6841 MB / 0.8031 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.6466, allocations: 426.9 kB / 0.8035 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.6476, allocations: 1.025 MB / 0.8045 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.6487, allocations: 0.5104 MB / 0.805 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.023e-06/0.6487, allocations: 3.938 kB / 0.805 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003073/0.6518, allocations: 1.228 MB / 0.8062 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.6519, allocations: 140.9 kB / 0.8063 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.6539, allocations: 1.2 MB / 0.8075 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.654, allocations: 37.7 kB / 0.8075 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.6545, allocations: 445.4 kB / 0.808 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.6547, allocations: 185.4 kB / 0.8082 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.6549, allocations: 146 kB / 0.8083 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6551, allocations: 334 kB / 0.8086 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.6564, allocations: 452.9 kB / 0.809 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.658, allocations: 0.6171 MB / 0.8096 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.6601, allocations: 0.9496 MB / 0.8106 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6601, allocations: 0 / 0.8106 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003238/0.6634, allocations: 1.232 MB / 0.8118 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/0.6634, allocations: 37.69 kB / 0.8118 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6635, allocations: 4 kB / 0.8118 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.6635, allocations: 11.94 kB / 0.8118 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009807/0.6645, allocations: 200 kB / 0.812 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.6645, allocations: 7.984 kB / 0.812 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.6662, allocations: 274.8 kB / 0.8123 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6663, allocations: 39.97 kB / 0.8123 GB, free: 2.348 MB / 0.6231 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.0005949/0.6669, allocations: 327.2 kB / 0.8126 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.6671, allocations: 114.6 kB / 0.8127 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.6693, allocations: 0.997 MB / 0.8137 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.6694, allocations: 19.92 kB / 0.8137 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6694, allocations: 0 / 0.8137 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6694, allocations: 0 / 0.8137 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.6744, allocations: 3.163 MB / 0.8168 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6744, allocations: 4 kB / 0.8168 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.675, allocations: 124.3 kB / 0.8169 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.675, allocations: 12 kB / 0.817 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.6751, allocations: 24.5 kB / 0.817 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.6751, allocations: 15.94 kB / 0.817 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6751, allocations: 8 kB / 0.817 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6773, allocations: 1.342 MB / 0.8183 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.6778, allocations: 327.4 kB / 0.8186 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.678, allocations: 19.98 kB / 0.8186 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.6791, allocations: 119.9 kB / 0.8188 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6792, allocations: 59.7 kB / 0.8188 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.6793, allocations: 51.95 kB / 0.8189 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001517/0.6808, allocations: 0.8599 MB / 0.8197 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6808, allocations: 0 / 0.8197 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009757/0.6818, allocations: 307.8 kB / 0.82 GB, free: 10.16 MB / 0.6387 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.0006782/0.6825, allocations: 336.5 kB / 0.8203 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.685, allocations: 1.06 MB / 0.8214 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.685, allocations: 8.125 kB / 0.8214 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.686, allocations: 0.5085 MB / 0.8219 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.6885, allocations: 0.5517 MB / 0.8224 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.6923, allocations: 2.335 MB / 0.8247 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.6931, allocations: 1.069 MB / 0.8257 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6942, allocations: 287.1 kB / 0.826 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.6944, allocations: 79.42 kB / 0.8261 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.6944, allocations: 0 / 0.8261 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of Templates: time 0.03781/0.7323, allocations: 21.93 MB / 0.8475 GB, free: 14.12 MB / 0.67 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)