Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005287/0.005287, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001355/0.001355, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.88/0.88, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 66.94 kB / 0.5862 GB, free: 21.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1615, allocations: 81.02 MB / 0.6654 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02495/0.1865, allocations: 20.82 MB / 0.6857 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008878/0.1954, allocations: 5.392 MB / 0.691 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.1962, allocations: 19.88 kB / 0.691 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1974, allocations: 337.8 kB / 0.6913 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.2006, allocations: 0.9212 MB / 0.6922 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.2039, allocations: 0.9463 MB / 0.6931 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.2067, allocations: 1.735 MB / 0.6948 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008712/0.2075, allocations: 489.2 kB / 0.6953 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.2094, allocations: 0.7068 MB / 0.696 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008249/0.2103, allocations: 497.8 kB / 0.6964 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2104, allocations: 40 kB / 0.6965 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.2125, allocations: 1.127 MB / 0.6976 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2127, allocations: 143.4 kB / 0.6977 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.2131, allocations: 326.3 kB / 0.698 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.2152, allocations: 1.226 MB / 0.6992 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2152, allocations: 0 / 0.6992 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2152, allocations: 3.938 kB / 0.6992 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.2152, allocations: 4 kB / 0.6992 GB, free: 2.289 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001859/0.2171, allocations: 1.063 MB / 0.7003 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.2172, allocations: 17.09 kB / 0.7003 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.2181, allocations: 180.3 kB / 0.7005 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.2192, allocations: 0.5924 MB / 0.701 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.2193, allocations: 36.94 kB / 0.7011 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.2194, allocations: 36 kB / 0.7011 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.2204, allocations: 496 kB / 0.7016 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2204, allocations: 3.938 kB / 0.7016 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.2205, allocations: 12 kB / 0.7016 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.2205, allocations: 23.98 kB / 0.7016 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.2215, allocations: 406.6 kB / 0.702 GB, free: 15.33 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.2246, allocations: 2.275 MB / 0.7042 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2257, allocations: 375.8 kB / 0.7046 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.2262, allocations: 222.9 kB / 0.7048 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.2266, allocations: 340.6 kB / 0.7051 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006856/0.2273, allocations: 302.5 kB / 0.7054 GB, free: 11.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.816e-06/0.2273, allocations: 0 / 0.7054 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002443/0.2298, allocations: 0.8501 MB / 0.7062 GB, free: 10.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.2298, allocations: 81.11 kB / 0.7063 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/0.2304, allocations: 495 kB / 0.7068 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.2305, allocations: 33.7 kB / 0.7068 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.2308, allocations: 292.8 kB / 0.7071 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2309, allocations: 103.1 kB / 0.7072 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.231, allocations: 93.31 kB / 0.7073 GB, free: 9.531 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2312, allocations: 362.7 kB / 0.7076 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.2317, allocations: 176.5 kB / 0.7078 GB, free: 8.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.2322, allocations: 257.3 kB / 0.7081 GB, free: 8.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2332, allocations: 476.9 kB / 0.7085 GB, free: 8.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2332, allocations: 0 / 0.7085 GB, free: 8.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001456/0.2347, allocations: 0.6138 MB / 0.7091 GB, free: 7.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.2348, allocations: 41.69 kB / 0.7091 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2348, allocations: 7.938 kB / 0.7092 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.2352, allocations: 64.81 kB / 0.7092 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2355, allocations: 84.03 kB / 0.7093 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/0.2361, allocations: 0.5914 MB / 0.7099 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.2366, allocations: 63.8 kB / 0.7099 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.2366, allocations: 23.97 kB / 0.71 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006533/0.2373, allocations: 311.9 kB / 0.7103 GB, free: 6.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005153/0.2378, allocations: 258.1 kB / 0.7105 GB, free: 6.078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009458/0.2388, allocations: 457 kB / 0.7109 GB, free: 5.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.2388, allocations: 4 kB / 0.7109 GB, free: 5.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001308/0.2401, allocations: 0.5929 MB / 0.7115 GB, free: 4.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.2401, allocations: 37.69 kB / 0.7116 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.2401, allocations: 4 kB / 0.7116 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.2403, allocations: 48.83 kB / 0.7116 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.2407, allocations: 83.94 kB / 0.7117 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.2424, allocations: 1.81 MB / 0.7135 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.2428, allocations: 47.84 kB / 0.7135 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.2429, allocations: 20.06 kB / 0.7135 GB, free: 2.777 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.2431, allocations: 233.9 kB / 0.7137 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.2433, allocations: 59.62 kB / 0.7138 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.2448, allocations: 0.6468 MB / 0.7144 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.2448, allocations: 4 kB / 0.7144 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.2448, allocations: 0 / 0.7144 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/0.2463, allocations: 0.8012 MB / 0.7152 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.2486, allocations: 1.296 MB / 0.7165 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2486, allocations: 0 / 0.7165 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.2489, allocations: 64.05 kB / 0.7165 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.2491, allocations: 48.75 kB / 0.7166 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.2492, allocations: 16 kB / 0.7166 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004303/0.2496, allocations: 0.5719 MB / 0.7172 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2496, allocations: 3.938 kB / 0.7172 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.2515, allocations: 0.9737 MB / 0.7181 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.2518, allocations: 176.7 kB / 0.7183 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.2518, allocations: 8 kB / 0.7183 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.2523, allocations: 47.89 kB / 0.7183 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.2524, allocations: 19.91 kB / 0.7184 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.2524, allocations: 23.98 kB / 0.7184 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004044/0.2529, allocations: 354.8 kB / 0.7187 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2529, allocations: 0 / 0.7187 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001006/0.2539, allocations: 335.3 kB / 0.719 GB, free: 12.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007167/0.2546, allocations: 305.7 kB / 0.7193 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.2567, allocations: 0.9715 MB / 0.7203 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2567, allocations: 0 / 0.7203 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.2574, allocations: 327.4 kB / 0.7206 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.2585, allocations: 229.2 kB / 0.7208 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.2606, allocations: 1.13 MB / 0.7219 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.2611, allocations: 0.8784 MB / 0.7228 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004144/0.2615, allocations: 128.3 kB / 0.7229 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2617, allocations: 43.42 kB / 0.7229 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.2617, allocations: 3.938 kB / 0.7229 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.02102/0.2827, allocations: 11.37 MB / 0.734 GB, free: 13.48 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)