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.001562/0.001562, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001717/0.001717, allocations: 187 kB / 17.34 MB, free: 5.742 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.385/1.385, allocations: 222.9 MB / 241 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.813/0.813, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.31 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1743, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01993/0.1942, allocations: 20.83 MB / 0.6857 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0079/0.2022, allocations: 5.391 MB / 0.6909 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009113/0.2032, allocations: 19.88 kB / 0.6909 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.2042, allocations: 341.8 kB / 0.6913 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.2067, allocations: 0.9251 MB / 0.6922 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.2093, allocations: 0.936 MB / 0.6931 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.2117, allocations: 1.734 MB / 0.6948 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007351/0.2125, allocations: 0.4894 MB / 0.6952 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.2143, allocations: 0.7089 MB / 0.6959 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.215, allocations: 493.8 kB / 0.6964 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.403e-05/0.2151, allocations: 44 kB / 0.6965 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.2172, allocations: 1.131 MB / 0.6976 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2174, allocations: 143.4 kB / 0.6977 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.2178, allocations: 322.3 kB / 0.698 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.2198, allocations: 1.223 MB / 0.6992 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2198, allocations: 0 / 0.6992 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2198, allocations: 0 / 0.6992 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.2198, allocations: 0 / 0.6992 GB, free: 2.965 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.001631/0.2215, allocations: 1.042 MB / 0.7002 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2215, allocations: 13.11 kB / 0.7002 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.2224, allocations: 187.9 kB / 0.7004 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.2235, allocations: 0.5956 MB / 0.701 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2235, allocations: 29 kB / 0.701 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.2236, allocations: 40 kB / 0.7011 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.2245, allocations: 496 kB / 0.7015 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2245, allocations: 4 kB / 0.7015 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.2246, allocations: 12 kB / 0.7015 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.2246, allocations: 11.94 kB / 0.7016 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000928/0.2255, allocations: 410.6 kB / 0.7019 GB, free: 28 kB / 0.5294 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.002663/0.2282, allocations: 2.27 MB / 0.7042 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.2292, allocations: 367.9 kB / 0.7045 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.2296, allocations: 221 kB / 0.7047 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.2299, allocations: 340.6 kB / 0.705 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005958/0.2305, allocations: 301.9 kB / 0.7053 GB, free: 12.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 4.658e-06/0.2306, allocations: 3.984 kB / 0.7053 GB, free: 12.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.00214/0.2327, allocations: 0.8538 MB / 0.7062 GB, free: 11.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2328, allocations: 81.11 kB / 0.7063 GB, free: 11.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.2333, allocations: 491 kB / 0.7067 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.2333, allocations: 33.7 kB / 0.7068 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.2335, allocations: 284.3 kB / 0.707 GB, free: 10.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.2336, allocations: 102.5 kB / 0.7071 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2338, allocations: 81.34 kB / 0.7072 GB, free: 10.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2339, allocations: 374.7 kB / 0.7076 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.2343, allocations: 176.5 kB / 0.7077 GB, free: 9.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.2348, allocations: 261.3 kB / 0.708 GB, free: 9.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.2357, allocations: 465 kB / 0.7084 GB, free: 8.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2357, allocations: 0 / 0.7084 GB, free: 8.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001318/0.237, allocations: 0.6199 MB / 0.709 GB, free: 8.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.2371, allocations: 41.69 kB / 0.7091 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2371, allocations: 8.094 kB / 0.7091 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.2374, allocations: 68.88 kB / 0.7091 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.2378, allocations: 71.88 kB / 0.7092 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/0.2382, allocations: 0.5992 MB / 0.7098 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.2387, allocations: 55.64 kB / 0.7098 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2388, allocations: 16 kB / 0.7099 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005661/0.2393, allocations: 308.1 kB / 0.7102 GB, free: 7.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004696/0.2398, allocations: 265.4 kB / 0.7104 GB, free: 6.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008473/0.2407, allocations: 460.9 kB / 0.7108 GB, free: 6.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2407, allocations: 0 / 0.7108 GB, free: 6.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001215/0.2419, allocations: 0.5887 MB / 0.7114 GB, free: 5.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2419, allocations: 41.69 kB / 0.7115 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.242, allocations: 4.062 kB / 0.7115 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.2421, allocations: 52.98 kB / 0.7115 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.2424, allocations: 75.83 kB / 0.7116 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.244, allocations: 1.798 MB / 0.7133 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.2445, allocations: 63.7 kB / 0.7134 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.2445, allocations: 12 kB / 0.7134 GB, free: 3.512 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.0002183/0.2447, allocations: 235.6 kB / 0.7136 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2448, allocations: 55.34 kB / 0.7137 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.2463, allocations: 0.6503 MB / 0.7143 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2463, allocations: 8 kB / 0.7143 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2463, allocations: 0 / 0.7143 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/0.2475, allocations: 0.7985 MB / 0.7151 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.2497, allocations: 1.297 MB / 0.7164 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2497, allocations: 7.984 kB / 0.7164 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.25, allocations: 59.89 kB / 0.7164 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.2502, allocations: 40.83 kB / 0.7165 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.2502, allocations: 15.98 kB / 0.7165 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003625/0.2506, allocations: 0.5759 MB / 0.7171 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2506, allocations: 4.031 kB / 0.7171 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.2524, allocations: 0.9725 MB / 0.718 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.2527, allocations: 176.3 kB / 0.7182 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.2528, allocations: 8 kB / 0.7182 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.2533, allocations: 44.02 kB / 0.7182 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.2534, allocations: 23.91 kB / 0.7183 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.2534, allocations: 23.98 kB / 0.7183 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000395/0.2538, allocations: 354.8 kB / 0.7186 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2538, allocations: 0 / 0.7186 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001023/0.2549, allocations: 331.5 kB / 0.7189 GB, free: 13.6 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.0007615/0.2556, allocations: 297.2 kB / 0.7192 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.2578, allocations: 0.9703 MB / 0.7202 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2578, allocations: 4.125 kB / 0.7202 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.2584, allocations: 327.3 kB / 0.7205 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.2596, allocations: 229.3 kB / 0.7207 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.2619, allocations: 1.13 MB / 0.7218 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.2623, allocations: 0.8861 MB / 0.7227 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.2625, allocations: 47.42 kB / 0.7227 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.2625, allocations: 0 / 0.7227 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of Templates: time 0.01715/0.2796, allocations: 11.45 MB / 0.7339 GB, free: 14.2 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)