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.0008007/0.0008008, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005128/0.005128, allocations: 171.4 kB / 16.27 MB, free: 6.648 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003762, allocations: 12 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4916, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2134/0.7051, allocations: 189.1 MB / 0.7683 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.7166, allocations: 6.911 MB / 0.7751 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.7182, allocations: 43.69 kB / 0.7751 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.7201, allocations: 0.5671 MB / 0.7757 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.7258, allocations: 2.171 MB / 0.7778 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.729, allocations: 1.294 MB / 0.7791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004529/0.7336, allocations: 3.735 MB / 0.7827 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.735, allocations: 0.7755 MB / 0.7835 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.737, allocations: 0.9569 MB / 0.7844 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.739, allocations: 0.7912 MB / 0.7852 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.7393, allocations: 40 kB / 0.7852 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.7433, allocations: 2.221 MB / 0.7874 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.7439, allocations: 306.9 kB / 0.7877 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.7451, allocations: 0.5457 MB / 0.7882 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004762/0.7499, allocations: 2.395 MB / 0.7906 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7499, allocations: 0 / 0.7906 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7499, allocations: 0 / 0.7906 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.386e-05/0.7499, allocations: 0 / 0.7906 GB, free: 11.86 MB / 0.6231 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.004007/0.754, allocations: 1.391 MB / 0.7919 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.754, allocations: 12.03 kB / 0.7919 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.7573, allocations: 0.6074 MB / 0.7925 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.7597, allocations: 0.9907 MB / 0.7935 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001285/0.761, allocations: 317 kB / 0.7938 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.7613, allocations: 71.94 kB / 0.7939 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.7644, allocations: 1.155 MB / 0.795 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.7644, allocations: 3.984 kB / 0.795 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.7646, allocations: 28 kB / 0.795 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.7646, allocations: 33.31 kB / 0.7951 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.7682, allocations: 1.254 MB / 0.7963 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00697/0.7752, allocations: 3.252 MB / 0.7995 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.777, allocations: 0.6959 MB / 0.8001 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.7781, allocations: 431.6 kB / 0.8005 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009878/0.7791, allocations: 1.025 MB / 0.8015 GB, free: 164 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.7801, allocations: 0.5183 MB / 0.8021 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.956e-06/0.7802, allocations: 0 / 0.8021 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.003098/0.7833, allocations: 1.248 MB / 0.8033 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.7834, allocations: 144.9 kB / 0.8034 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.7856, allocations: 1.215 MB / 0.8046 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.7857, allocations: 41.7 kB / 0.8046 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.7861, allocations: 441.3 kB / 0.8051 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.7863, allocations: 189.2 kB / 0.8052 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.7864, allocations: 49.69 kB / 0.8053 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7866, allocations: 334 kB / 0.8056 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.788, allocations: 484.9 kB / 0.8061 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.7896, allocations: 0.6445 MB / 0.8067 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.7919, allocations: 0.9774 MB / 0.8076 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.7919, allocations: 0 / 0.8076 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003464/0.7954, allocations: 1.287 MB / 0.8089 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.7954, allocations: 37.69 kB / 0.8089 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.7955, allocations: 7.938 kB / 0.8089 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7955, allocations: 15.88 kB / 0.809 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.7965, allocations: 212 kB / 0.8092 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.7965, allocations: 15.92 kB / 0.8092 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.7983, allocations: 298.9 kB / 0.8095 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.7984, allocations: 35.97 kB / 0.8095 GB, free: 7.785 MB / 0.6387 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.0005405/0.7989, allocations: 325.4 kB / 0.8098 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.7992, allocations: 122.6 kB / 0.8099 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.8014, allocations: 1.015 MB / 0.8109 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.8014, allocations: 12 kB / 0.8109 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.8015, allocations: 0 / 0.8109 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8015, allocations: 0 / 0.8109 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.8065, allocations: 3.175 MB / 0.814 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.8066, allocations: 8 kB / 0.814 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.8072, allocations: 128.2 kB / 0.8142 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.8072, allocations: 8 kB / 0.8142 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.8073, allocations: 27.98 kB / 0.8142 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.8073, allocations: 8 kB / 0.8142 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.8073, allocations: 11.94 kB / 0.8142 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.8095, allocations: 1.361 MB / 0.8155 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.8101, allocations: 327.4 kB / 0.8159 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.8102, allocations: 19.98 kB / 0.8159 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.8115, allocations: 131.9 kB / 0.816 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.8116, allocations: 67.5 kB / 0.8161 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.8117, allocations: 43.97 kB / 0.8161 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.3266/1.138, allocations: 0.8838 MB / 0.817 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.62e-07/1.138, allocations: 0 / 0.817 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001972/1.14, allocations: 299.7 kB / 0.8173 GB, free: 218.5 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.0007582/1.141, allocations: 342.5 kB / 0.8176 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003483/1.145, allocations: 1.054 MB / 0.8186 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.145, allocations: 1.406 kB / 0.8186 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/1.146, allocations: 0.5164 MB / 0.8191 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/1.152, allocations: 0.5408 MB / 0.8196 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/1.157, allocations: 2.376 MB / 0.822 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009782/1.158, allocations: 1.07 MB / 0.823 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001463/1.16, allocations: 278.3 kB / 0.8233 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.16, allocations: 84.89 kB / 0.8234 GB, free: 216 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/1.16, allocations: 8.875 kB / 0.8234 GB, free: 216 MB / 0.6387 GB Notification: Performance of Templates: time 0.04766/1.208, allocations: 21.12 MB / 0.844 GB, free: 207.6 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)