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.0009468/0.0009469, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 187.5 kB / 16.93 MB, free: 6.887 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.348 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 / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 82.3 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5005/0.6754, allocations: 189.1 MB / 0.7733 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.6868, allocations: 6.918 MB / 0.78 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.6886, allocations: 39.69 kB / 0.7801 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.6907, allocations: 0.5554 MB / 0.7806 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006493/0.6973, allocations: 2.183 MB / 0.7828 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.7008, allocations: 1.281 MB / 0.784 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005292/0.7061, allocations: 3.735 MB / 0.7877 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.7079, allocations: 0.7834 MB / 0.7884 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.7102, allocations: 0.9568 MB / 0.7894 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.7126, allocations: 0.7946 MB / 0.7901 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003584/0.713, allocations: 40 kB / 0.7902 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004599/0.7176, allocations: 2.217 MB / 0.7923 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.7181, allocations: 310.8 kB / 0.7926 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.7192, allocations: 0.5496 MB / 0.7932 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.7219, allocations: 1.734 MB / 0.7949 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.722, allocations: 7.938 kB / 0.7949 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.722, allocations: 0 / 0.7949 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.669e-05/0.722, allocations: 0 / 0.7949 GB, free: 9.254 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.003762/0.7258, allocations: 1.384 MB / 0.7962 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.7258, allocations: 8.031 kB / 0.7962 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/0.7289, allocations: 0.6035 MB / 0.7968 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.7312, allocations: 1.006 MB / 0.7978 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/0.7324, allocations: 313 kB / 0.7981 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.7327, allocations: 64 kB / 0.7982 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.7354, allocations: 1.163 MB / 0.7993 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.7354, allocations: 0 / 0.7993 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.7355, allocations: 28 kB / 0.7993 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.7355, allocations: 29.31 kB / 0.7994 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.7389, allocations: 1.258 MB / 0.8006 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/0.7454, allocations: 3.244 MB / 0.8037 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.7471, allocations: 0.6998 MB / 0.8044 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.748, allocations: 433.4 kB / 0.8048 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009395/0.7489, allocations: 1.025 MB / 0.8058 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.7499, allocations: 0.5182 MB / 0.8064 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 4.248e-06/0.75, allocations: 3.938 kB / 0.8064 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003077/0.7531, allocations: 1.248 MB / 0.8076 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.7531, allocations: 136.9 kB / 0.8077 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.7554, allocations: 1.223 MB / 0.8089 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.7555, allocations: 37.7 kB / 0.8089 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.7559, allocations: 441.4 kB / 0.8094 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.7561, allocations: 193.2 kB / 0.8095 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.7562, allocations: 57.69 kB / 0.8096 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7563, allocations: 326 kB / 0.8099 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.7577, allocations: 484.9 kB / 0.8104 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.7592, allocations: 0.6405 MB / 0.811 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.7613, allocations: 0.9887 MB / 0.812 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.7613, allocations: 4 kB / 0.812 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003288/0.7646, allocations: 1.283 MB / 0.8132 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/0.7647, allocations: 41.62 kB / 0.8133 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7647, allocations: 4 kB / 0.8133 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.7648, allocations: 7.938 kB / 0.8133 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.7657, allocations: 207.9 kB / 0.8135 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.7658, allocations: 11.06 kB / 0.8135 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.7675, allocations: 310.6 kB / 0.8138 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.7676, allocations: 39.97 kB / 0.8138 GB, free: 5.195 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.0005833/0.7682, allocations: 327.2 kB / 0.8141 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.7684, allocations: 114.6 kB / 0.8142 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.7707, allocations: 1.013 MB / 0.8152 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.7707, allocations: 11.92 kB / 0.8152 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.7707, allocations: 0 / 0.8152 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.7707, allocations: 4 kB / 0.8152 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.7759, allocations: 3.183 MB / 0.8183 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.7759, allocations: 8 kB / 0.8184 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.7765, allocations: 120 kB / 0.8185 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.7766, allocations: 15.94 kB / 0.8185 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.7766, allocations: 23.98 kB / 0.8185 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.7766, allocations: 15.94 kB / 0.8185 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7767, allocations: 8 kB / 0.8185 GB, free: 180 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.779, allocations: 1.355 MB / 0.8199 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006368/0.7796, allocations: 327.4 kB / 0.8202 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.7799, allocations: 27.98 kB / 0.8202 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.7812, allocations: 127.9 kB / 0.8203 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7814, allocations: 71.55 kB / 0.8204 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.7815, allocations: 39.97 kB / 0.8204 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001772/0.7832, allocations: 0.8873 MB / 0.8213 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7832, allocations: 0 / 0.8213 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001284/0.7845, allocations: 303.8 kB / 0.8216 GB, free: 12.91 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.0008345/0.7854, allocations: 345.1 kB / 0.8219 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.788, allocations: 1.052 MB / 0.8229 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.788, allocations: 4 kB / 0.8229 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/0.789, allocations: 0.5204 MB / 0.8234 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/0.793, allocations: 0.5283 MB / 0.824 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.7971, allocations: 2.41 MB / 0.8263 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.7978, allocations: 1.065 MB / 0.8274 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.7982, allocations: 99.33 kB / 0.8274 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.7982, allocations: 4 kB / 0.8275 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.02725/0.8255, allocations: 18.56 MB / 0.8456 GB, free: 4.324 MB / 0.6544 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)