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.007646/0.007646, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001759/0.001759, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7561/0.7561, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 75.88 kB / 0.5814 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.435, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02382/0.4589, allocations: 20.83 MB / 0.68 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009875/0.4688, allocations: 5.38 MB / 0.6853 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.47, allocations: 27.03 kB / 0.6853 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.4713, allocations: 359.9 kB / 0.6857 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.475, allocations: 0.9553 MB / 0.6866 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.478, allocations: 0.9435 MB / 0.6875 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.4809, allocations: 1.733 MB / 0.6892 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/0.4819, allocations: 0.4883 MB / 0.6897 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.484, allocations: 0.7164 MB / 0.6904 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009783/0.485, allocations: 495.6 kB / 0.6908 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.4852, allocations: 40.91 kB / 0.6909 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.4877, allocations: 1.127 MB / 0.692 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.488, allocations: 138.6 kB / 0.6921 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006684/0.4886, allocations: 329.7 kB / 0.6924 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.4914, allocations: 1.219 MB / 0.6936 GB, free: 84 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4914, allocations: 4 kB / 0.6936 GB, free: 80 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4914, allocations: 1.406 kB / 0.6936 GB, free: 80 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.19e-05/0.4915, allocations: 0 / 0.6936 GB, free: 80 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.00233/0.4938, allocations: 1.043 MB / 0.6946 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4939, allocations: 9.375 kB / 0.6947 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.4949, allocations: 179.1 kB / 0.6948 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.4963, allocations: 0.5964 MB / 0.6954 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.4964, allocations: 29.16 kB / 0.6954 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.4965, allocations: 35.16 kB / 0.6955 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.4975, allocations: 0.4912 MB / 0.696 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4976, allocations: 1.25 kB / 0.696 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.4976, allocations: 17.03 kB / 0.696 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.4977, allocations: 13.16 kB / 0.696 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4987, allocations: 402.2 kB / 0.6964 GB, free: 14.11 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.003166/0.5019, allocations: 2.277 MB / 0.6986 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.5029, allocations: 365.1 kB / 0.6989 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.5034, allocations: 223.7 kB / 0.6992 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.5037, allocations: 346.8 kB / 0.6995 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/0.5043, allocations: 303.7 kB / 0.6998 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.5043, allocations: 0 / 0.6998 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002232/0.5065, allocations: 0.8486 MB / 0.7006 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.5066, allocations: 82.55 kB / 0.7007 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.5072, allocations: 495 kB / 0.7012 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.5073, allocations: 37.58 kB / 0.7012 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.5075, allocations: 283.3 kB / 0.7015 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5076, allocations: 104.6 kB / 0.7016 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.5078, allocations: 75.66 kB / 0.7016 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5079, allocations: 362.9 kB / 0.702 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.5084, allocations: 186.2 kB / 0.7022 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.5089, allocations: 255.6 kB / 0.7024 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/0.5099, allocations: 466.6 kB / 0.7028 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.5099, allocations: 1.375 kB / 0.7028 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001503/0.5114, allocations: 0.6138 MB / 0.7034 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.5115, allocations: 37.77 kB / 0.7035 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5115, allocations: 10.83 kB / 0.7035 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.5119, allocations: 63 kB / 0.7035 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.5122, allocations: 78.86 kB / 0.7036 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004778/0.5127, allocations: 0.5913 MB / 0.7042 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.5133, allocations: 63.75 kB / 0.7043 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.5133, allocations: 15.98 kB / 0.7043 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006011/0.5139, allocations: 311.8 kB / 0.7046 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004983/0.5144, allocations: 265.4 kB / 0.7048 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008819/0.5153, allocations: 457 kB / 0.7053 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.5154, allocations: 4 kB / 0.7053 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001277/0.5166, allocations: 0.5928 MB / 0.7058 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.5167, allocations: 36.52 kB / 0.7059 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5167, allocations: 0 / 0.7059 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.5169, allocations: 52.77 kB / 0.7059 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.5172, allocations: 87.88 kB / 0.706 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.5187, allocations: 1.81 MB / 0.7078 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5193, allocations: 51.66 kB / 0.7078 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.5193, allocations: 19.98 kB / 0.7079 GB, free: 3.914 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.0002213/0.5195, allocations: 235.3 kB / 0.7081 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.5197, allocations: 59.33 kB / 0.7081 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5211, allocations: 0.6348 MB / 0.7088 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5211, allocations: 8 kB / 0.7088 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.5211, allocations: 0 / 0.7088 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/0.5224, allocations: 0.8024 MB / 0.7095 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.5247, allocations: 1.304 MB / 0.7108 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.5247, allocations: 4 kB / 0.7108 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.525, allocations: 67.97 kB / 0.7109 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.5252, allocations: 36.84 kB / 0.7109 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.5252, allocations: 15.98 kB / 0.7109 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003994/0.5256, allocations: 0.5718 MB / 0.7115 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.5256, allocations: 4.031 kB / 0.7115 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.5274, allocations: 0.9616 MB / 0.7124 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.5278, allocations: 172.3 kB / 0.7126 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.5279, allocations: 23.98 kB / 0.7126 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.5284, allocations: 39.91 kB / 0.7127 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.5285, allocations: 19.91 kB / 0.7127 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.5285, allocations: 23.98 kB / 0.7127 GB, free: 14.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003933/0.5289, allocations: 350.8 kB / 0.713 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5289, allocations: 0 / 0.713 GB, free: 14.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001129/0.5301, allocations: 327.5 kB / 0.7134 GB, free: 14.01 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.0006969/0.5308, allocations: 305.1 kB / 0.7136 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.5329, allocations: 0.9711 MB / 0.7146 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5329, allocations: 4 kB / 0.7146 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.5336, allocations: 315.4 kB / 0.7149 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5347, allocations: 226.2 kB / 0.7151 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.5371, allocations: 1.114 MB / 0.7162 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.5379, allocations: 0.8823 MB / 0.7171 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006438/0.5385, allocations: 128 kB / 0.7172 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5387, allocations: 47.41 kB / 0.7172 GB, free: 9.934 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.5387, allocations: 0 / 0.7172 GB, free: 9.934 MB / 0.545 GB Notification: Performance of Templates: time 0.02131/0.56, allocations: 11.38 MB / 0.7283 GB, free: 14.72 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)