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.0009403/0.0009403, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001154/0.001154, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.961/0.961, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 12 kB / 0.507 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2008, allocations: 82.31 MB / 0.5874 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5211/0.722, allocations: 176.6 MB / 0.7598 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.7323, allocations: 6.557 MB / 0.7662 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.7339, allocations: 39.69 kB / 0.7663 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.7355, allocations: 472.7 kB / 0.7667 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.7406, allocations: 1.668 MB / 0.7683 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.7439, allocations: 1.084 MB / 0.7694 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004804/0.7487, allocations: 3.223 MB / 0.7725 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.7502, allocations: 0.6815 MB / 0.7732 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.7524, allocations: 0.9415 MB / 0.7741 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.754, allocations: 0.7468 MB / 0.7749 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.7541, allocations: 40 kB / 0.7749 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.7577, allocations: 1.22 MB / 0.7761 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003665/0.7581, allocations: 298.9 kB / 0.7764 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.7584, allocations: 245.1 kB / 0.7766 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.7608, allocations: 1.61 MB / 0.7782 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7608, allocations: 0 / 0.7782 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7608, allocations: 0 / 0.7782 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.7609, allocations: 0 / 0.7782 GB, free: 9.539 MB / 0.5919 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.002974/0.7638, allocations: 1.4 MB / 0.7795 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7639, allocations: 12.03 kB / 0.7796 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.7667, allocations: 0.5996 MB / 0.7801 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.7688, allocations: 0.9564 MB / 0.7811 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.7698, allocations: 325 kB / 0.7814 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.77, allocations: 68 kB / 0.7815 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.7723, allocations: 1.14 MB / 0.7826 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.7723, allocations: 0 / 0.7826 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.7724, allocations: 35.92 kB / 0.7826 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.7725, allocations: 37.3 kB / 0.7826 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.7756, allocations: 1.25 MB / 0.7839 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007257/0.7828, allocations: 3.238 MB / 0.787 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.7845, allocations: 0.6998 MB / 0.7877 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000762/0.7853, allocations: 431.4 kB / 0.7881 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009987/0.7863, allocations: 1.021 MB / 0.7891 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.7873, allocations: 0.5182 MB / 0.7896 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.705e-06/0.7874, allocations: 0 / 0.7896 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002867/0.7902, allocations: 1.248 MB / 0.7908 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.7903, allocations: 140.8 kB / 0.791 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.7923, allocations: 1.208 MB / 0.7921 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/0.7923, allocations: 41.64 kB / 0.7922 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.7927, allocations: 441.4 kB / 0.7926 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.7929, allocations: 189.3 kB / 0.7928 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.793, allocations: 12 kB / 0.7928 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7931, allocations: 329.9 kB / 0.7931 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.7943, allocations: 484.9 kB / 0.7936 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.7957, allocations: 0.6367 MB / 0.7942 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.797, allocations: 0.5307 MB / 0.7947 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.797, allocations: 4 kB / 0.7947 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00308/0.8001, allocations: 1.287 MB / 0.796 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.8001, allocations: 37.7 kB / 0.796 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8001, allocations: 4 kB / 0.796 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.8002, allocations: 4 kB / 0.796 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.8011, allocations: 215.9 kB / 0.7962 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.8011, allocations: 4 kB / 0.7962 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.8026, allocations: 310.8 kB / 0.7965 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.8027, allocations: 31.98 kB / 0.7966 GB, free: 6.105 MB / 0.6075 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.8032, allocations: 339.1 kB / 0.7969 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.8034, allocations: 114.6 kB / 0.797 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.8054, allocations: 1.013 MB / 0.798 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8054, allocations: 4 kB / 0.798 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8054, allocations: 4 kB / 0.798 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.8055, allocations: 3.984 kB / 0.798 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.8101, allocations: 3.179 MB / 0.8011 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8101, allocations: 8 kB / 0.8011 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.8106, allocations: 124 kB / 0.8012 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/0.8107, allocations: 11.98 kB / 0.8012 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.8107, allocations: 24 kB / 0.8013 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.8108, allocations: 15.92 kB / 0.8013 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.8108, allocations: 19.89 kB / 0.8013 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.8127, allocations: 1.35 MB / 0.8026 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.8132, allocations: 331.4 kB / 0.8029 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.8134, allocations: 20 kB / 0.8029 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.8144, allocations: 135.8 kB / 0.8031 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.8145, allocations: 59.8 kB / 0.8031 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.8146, allocations: 39.97 kB / 0.8032 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001521/0.8161, allocations: 0.8833 MB / 0.804 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8162, allocations: 0 / 0.804 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00111/0.8173, allocations: 291.9 kB / 0.8043 GB, free: 13.84 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007147/0.818, allocations: 345.7 kB / 0.8046 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.8203, allocations: 1.041 MB / 0.8057 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.8203, allocations: 7.938 kB / 0.8057 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.8212, allocations: 0.5215 MB / 0.8062 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.8238, allocations: 0.5344 MB / 0.8067 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.8276, allocations: 2.288 MB / 0.8089 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.8282, allocations: 1.069 MB / 0.81 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001192/0.8294, allocations: 270.2 kB / 0.8102 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.8297, allocations: 83.41 kB / 0.8103 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of SimCode: time 9.41e-07/0.8297, allocations: 0 / 0.8103 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of Templates: time 0.03493/0.8646, allocations: 20.6 MB / 0.8304 GB, free: 3.215 MB / 0.6387 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)