Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006763/0.006763, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001229/0.001229, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 0.5814 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4087, allocations: 80.21 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01955/0.4282, allocations: 20.84 MB / 0.68 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007766/0.436, allocations: 5.385 MB / 0.6853 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000764/0.4368, allocations: 26.44 kB / 0.6853 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.4378, allocations: 347.6 kB / 0.6857 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.4404, allocations: 0.9616 MB / 0.6866 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.4429, allocations: 0.9346 MB / 0.6875 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.4453, allocations: 1.737 MB / 0.6892 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.4464, allocations: 496.8 kB / 0.6897 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.4486, allocations: 0.7192 MB / 0.6904 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.4498, allocations: 492.1 kB / 0.6908 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.4499, allocations: 41.25 kB / 0.6909 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4523, allocations: 1.126 MB / 0.692 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.4526, allocations: 143.4 kB / 0.6921 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006941/0.4533, allocations: 321.7 kB / 0.6924 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.4558, allocations: 1.222 MB / 0.6936 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4559, allocations: 9.469 kB / 0.6936 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4559, allocations: 0 / 0.6936 GB, free: 148 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.549e-05/0.4559, allocations: 0 / 0.6936 GB, free: 148 kB / 0.5137 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.002259/0.4582, allocations: 1.04 MB / 0.6946 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4582, allocations: 9.531 kB / 0.6947 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.4592, allocations: 175.2 kB / 0.6948 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4606, allocations: 0.596 MB / 0.6954 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.4607, allocations: 29.16 kB / 0.6954 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.4607, allocations: 43.67 kB / 0.6955 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.4618, allocations: 494.6 kB / 0.6959 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4619, allocations: 1.125 kB / 0.6959 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.4619, allocations: 20.09 kB / 0.696 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.4619, allocations: 9.531 kB / 0.696 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.463, allocations: 410.7 kB / 0.6964 GB, free: 14.18 MB / 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.003269/0.4663, allocations: 2.279 MB / 0.6986 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.4673, allocations: 362 kB / 0.6989 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.4678, allocations: 232.6 kB / 0.6992 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.4681, allocations: 345.8 kB / 0.6995 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006423/0.4688, allocations: 300 kB / 0.6998 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.4688, allocations: 0 / 0.6998 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002382/0.4712, allocations: 0.8416 MB / 0.7006 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.4712, allocations: 90.28 kB / 0.7007 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.4719, allocations: 491 kB / 0.7011 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.4719, allocations: 33.2 kB / 0.7012 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4721, allocations: 287.2 kB / 0.7015 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.4722, allocations: 105 kB / 0.7016 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.4724, allocations: 70 kB / 0.7016 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4725, allocations: 368.2 kB / 0.702 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.473, allocations: 185.8 kB / 0.7022 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.4736, allocations: 255.7 kB / 0.7024 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.4745, allocations: 467 kB / 0.7028 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4745, allocations: 5.422 kB / 0.7028 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00149/0.476, allocations: 0.6103 MB / 0.7034 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.4761, allocations: 37.34 kB / 0.7035 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4761, allocations: 6.656 kB / 0.7035 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.4765, allocations: 73.92 kB / 0.7036 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.4769, allocations: 79.91 kB / 0.7036 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/0.4774, allocations: 0.5928 MB / 0.7042 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.478, allocations: 59.7 kB / 0.7043 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.478, allocations: 16 kB / 0.7043 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006094/0.4786, allocations: 315.8 kB / 0.7046 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005173/0.4792, allocations: 257.6 kB / 0.7048 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009378/0.4801, allocations: 460.9 kB / 0.7053 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4801, allocations: 0 / 0.7053 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001325/0.4814, allocations: 0.5812 MB / 0.7058 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.4815, allocations: 45.72 kB / 0.7059 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4815, allocations: 4 kB / 0.7059 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.4817, allocations: 44.83 kB / 0.7059 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.482, allocations: 75.83 kB / 0.706 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.4836, allocations: 1.814 MB / 0.7078 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.4841, allocations: 59.62 kB / 0.7078 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.4842, allocations: 19.92 kB / 0.7078 GB, free: 4.012 MB / 0.5294 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.0002148/0.4844, allocations: 243.3 kB / 0.7081 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4845, allocations: 55.34 kB / 0.7081 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.486, allocations: 0.6347 MB / 0.7087 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.486, allocations: 3.984 kB / 0.7088 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.486, allocations: 4 kB / 0.7088 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/0.4873, allocations: 0.8024 MB / 0.7095 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.4896, allocations: 1.296 MB / 0.7108 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4896, allocations: 0 / 0.7108 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.49, allocations: 67.97 kB / 0.7109 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.4901, allocations: 48.83 kB / 0.7109 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.4901, allocations: 11.98 kB / 0.7109 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003615/0.4905, allocations: 0.5796 MB / 0.7115 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4905, allocations: 0 / 0.7115 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4924, allocations: 0.9537 MB / 0.7124 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.4927, allocations: 180.3 kB / 0.7126 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.4928, allocations: 12.06 kB / 0.7126 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.4933, allocations: 39.95 kB / 0.7126 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.4934, allocations: 27.92 kB / 0.7127 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.4935, allocations: 23.97 kB / 0.7127 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003945/0.4939, allocations: 350.8 kB / 0.713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4939, allocations: 0 / 0.713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001045/0.495, allocations: 335.5 kB / 0.7134 GB, free: 14.1 MB / 0.545 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.0006986/0.4957, allocations: 307.6 kB / 0.7136 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.4978, allocations: 0.9711 MB / 0.7146 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4978, allocations: 0 / 0.7146 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/0.4985, allocations: 323.4 kB / 0.7149 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.4997, allocations: 216.1 kB / 0.7151 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.5019, allocations: 1.114 MB / 0.7162 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.5024, allocations: 0.8861 MB / 0.7171 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004673/0.5029, allocations: 129.1 kB / 0.7172 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.503, allocations: 43.42 kB / 0.7172 GB, free: 10.03 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.503, allocations: 0 / 0.7172 GB, free: 10.03 MB / 0.545 GB Notification: Performance of Templates: time 0.01979/0.5228, allocations: 11.38 MB / 0.7283 GB, free: 14.81 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)