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.007956/0.007956, allocations: 96.77 kB / 15.73 MB, free: 6.055 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.001129/0.00113, allocations: 194.5 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.66 kB / 0.5814 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01994/0.1821, allocations: 20.84 MB / 0.68 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009043/0.1912, allocations: 5.385 MB / 0.6853 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.192, allocations: 27.81 kB / 0.6853 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1933, allocations: 345.8 kB / 0.6856 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.1961, allocations: 0.9134 MB / 0.6865 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.1987, allocations: 0.9327 MB / 0.6875 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.2012, allocations: 1.731 MB / 0.6891 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.2019, allocations: 0.4894 MB / 0.6896 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2037, allocations: 0.7013 MB / 0.6903 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007058/0.2045, allocations: 0.4939 MB / 0.6908 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.136e-05/0.2046, allocations: 44 kB / 0.6908 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.2069, allocations: 1.123 MB / 0.6919 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.2071, allocations: 139.4 kB / 0.6921 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.2075, allocations: 326.3 kB / 0.6924 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.2093, allocations: 1.222 MB / 0.6936 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2093, allocations: 0 / 0.6936 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2093, allocations: 0 / 0.6936 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.2094, allocations: 0 / 0.6936 GB, free: 10.7 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.001762/0.2111, allocations: 1.075 MB / 0.6946 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2112, allocations: 8.031 kB / 0.6946 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.212, allocations: 188.3 kB / 0.6948 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2131, allocations: 0.5962 MB / 0.6954 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.2132, allocations: 29 kB / 0.6954 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.2133, allocations: 40 kB / 0.6954 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/0.2142, allocations: 495.9 kB / 0.6959 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.2142, allocations: 7.875 kB / 0.6959 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.2143, allocations: 16 kB / 0.6959 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.2143, allocations: 8 kB / 0.696 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009747/0.2153, allocations: 406.6 kB / 0.6963 GB, free: 7.734 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.002807/0.2181, allocations: 2.278 MB / 0.6986 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.2191, allocations: 362.7 kB / 0.6989 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.2196, allocations: 232.9 kB / 0.6991 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.2199, allocations: 340.6 kB / 0.6995 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/0.2205, allocations: 306.7 kB / 0.6997 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.2205, allocations: 0 / 0.6997 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002168/0.2227, allocations: 0.8513 MB / 0.7006 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.2228, allocations: 85.09 kB / 0.7007 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.2233, allocations: 499 kB / 0.7011 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.2233, allocations: 29.7 kB / 0.7012 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2235, allocations: 284.7 kB / 0.7014 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.336e-05/0.2236, allocations: 111 kB / 0.7015 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2238, allocations: 85.58 kB / 0.7016 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2239, allocations: 366.7 kB / 0.702 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.2244, allocations: 184.5 kB / 0.7022 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.2249, allocations: 253.3 kB / 0.7024 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.2258, allocations: 461.9 kB / 0.7028 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2258, allocations: 0 / 0.7028 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001402/0.2272, allocations: 0.6223 MB / 0.7034 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.2272, allocations: 40.19 kB / 0.7035 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2273, allocations: 3.938 kB / 0.7035 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.2276, allocations: 64.81 kB / 0.7035 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.228, allocations: 87.91 kB / 0.7036 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.2284, allocations: 0.5875 MB / 0.7042 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.2289, allocations: 67.75 kB / 0.7043 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.229, allocations: 12 kB / 0.7043 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005801/0.2295, allocations: 311.8 kB / 0.7046 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004844/0.23, allocations: 257.7 kB / 0.7048 GB, free: 14.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009156/0.231, allocations: 464.8 kB / 0.7053 GB, free: 14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.231, allocations: 0 / 0.7053 GB, free: 14 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001241/0.2322, allocations: 0.5892 MB / 0.7058 GB, free: 13.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.2323, allocations: 33.7 kB / 0.7059 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.2323, allocations: 0 / 0.7059 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.2324, allocations: 52.98 kB / 0.7059 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.2328, allocations: 83.81 kB / 0.706 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2343, allocations: 1.806 MB / 0.7078 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.2348, allocations: 47.92 kB / 0.7078 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.2349, allocations: 20.17 kB / 0.7078 GB, free: 11.2 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.0002076/0.2351, allocations: 240.5 kB / 0.7081 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2352, allocations: 63.62 kB / 0.7081 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.2366, allocations: 0.6462 MB / 0.7088 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2366, allocations: 4 kB / 0.7088 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2366, allocations: 7.922 kB / 0.7088 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/0.238, allocations: 0.8024 MB / 0.7095 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.2405, allocations: 1.304 MB / 0.7108 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2405, allocations: 0 / 0.7108 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.2409, allocations: 67.92 kB / 0.7109 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.2411, allocations: 40.92 kB / 0.7109 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.2411, allocations: 19.98 kB / 0.7109 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004012/0.2415, allocations: 0.5758 MB / 0.7115 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2415, allocations: 0 / 0.7115 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.2434, allocations: 0.9618 MB / 0.7124 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.2437, allocations: 180.7 kB / 0.7126 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.2438, allocations: 11.98 kB / 0.7126 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.2444, allocations: 36.03 kB / 0.7127 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.2444, allocations: 27.91 kB / 0.7127 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.2445, allocations: 15.98 kB / 0.7127 GB, free: 5.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004071/0.2449, allocations: 350.8 kB / 0.713 GB, free: 5.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.2449, allocations: 0 / 0.713 GB, free: 5.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001055/0.246, allocations: 343.3 kB / 0.7134 GB, free: 5.262 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.0007313/0.2467, allocations: 309.1 kB / 0.7137 GB, free: 4.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.2488, allocations: 0.965 MB / 0.7146 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2488, allocations: 0 / 0.7146 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.2495, allocations: 315.4 kB / 0.7149 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2506, allocations: 226.2 kB / 0.7151 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.2528, allocations: 1.129 MB / 0.7162 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.2533, allocations: 0.8747 MB / 0.7171 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004958/0.2538, allocations: 137 kB / 0.7172 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2539, allocations: 55.42 kB / 0.7173 GB, free: 1.176 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.2539, allocations: 3.938 kB / 0.7173 GB, free: 1.172 MB / 0.545 GB Notification: Performance of Templates: time 0.02132/0.2753, allocations: 11.37 MB / 0.7284 GB, free: 5.957 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)