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.001444/0.001444, allocations: 107 kB / 16.41 MB, free: 6.504 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.001439/0.001439, 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.804/0.804, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001903, allocations: 60.06 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1756, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02287/0.1985, allocations: 20.83 MB / 0.6856 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007706/0.2063, allocations: 5.39 MB / 0.6909 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.2072, allocations: 23.88 kB / 0.6909 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.2083, allocations: 341.8 kB / 0.6913 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.211, allocations: 0.925 MB / 0.6922 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.2135, allocations: 0.9362 MB / 0.6931 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.216, allocations: 1.738 MB / 0.6948 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.2169, allocations: 0.4894 MB / 0.6953 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.2189, allocations: 0.7031 MB / 0.6959 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008695/0.2198, allocations: 497.8 kB / 0.6964 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.22, allocations: 44 kB / 0.6965 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.2222, allocations: 1.127 MB / 0.6976 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.2224, allocations: 143.4 kB / 0.6977 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.2229, allocations: 322.3 kB / 0.698 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.2252, allocations: 1.215 MB / 0.6992 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2253, allocations: 0 / 0.6992 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2253, allocations: 0 / 0.6992 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.831e-05/0.2253, allocations: 4 kB / 0.6992 GB, free: 2.961 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.001982/0.2273, allocations: 1.045 MB / 0.7002 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2273, allocations: 17.09 kB / 0.7002 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.2283, allocations: 176 kB / 0.7004 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.2296, allocations: 0.5879 MB / 0.701 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.2296, allocations: 36.94 kB / 0.701 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.2297, allocations: 40 kB / 0.701 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/0.2307, allocations: 492 kB / 0.7015 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2307, allocations: 3.938 kB / 0.7015 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.2308, allocations: 16 kB / 0.7015 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.2308, allocations: 15.98 kB / 0.7015 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.2318, allocations: 410.6 kB / 0.7019 GB, free: 24 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.003108/0.2349, allocations: 2.27 MB / 0.7042 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.2359, allocations: 371.9 kB / 0.7045 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.2364, allocations: 224.9 kB / 0.7047 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.2367, allocations: 340.6 kB / 0.7051 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.2373, allocations: 298 kB / 0.7053 GB, free: 12.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/0.2373, allocations: 0 / 0.7053 GB, free: 12.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002233/0.2396, allocations: 0.8576 MB / 0.7062 GB, free: 11.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.2397, allocations: 85.11 kB / 0.7063 GB, free: 11.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.2402, allocations: 495 kB / 0.7067 GB, free: 10.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.2403, allocations: 33.7 kB / 0.7068 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.2405, allocations: 276.4 kB / 0.707 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.2406, allocations: 102.5 kB / 0.7071 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.2408, allocations: 89.27 kB / 0.7072 GB, free: 10.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2409, allocations: 370.7 kB / 0.7076 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.2414, allocations: 172.5 kB / 0.7077 GB, free: 9.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.2419, allocations: 265.3 kB / 0.708 GB, free: 9.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.2428, allocations: 465 kB / 0.7084 GB, free: 8.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2428, allocations: 0 / 0.7084 GB, free: 8.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001438/0.2443, allocations: 0.6122 MB / 0.709 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.2443, allocations: 37.69 kB / 0.7091 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2443, allocations: 16.09 kB / 0.7091 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.2447, allocations: 64.81 kB / 0.7091 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.2451, allocations: 75.88 kB / 0.7092 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004864/0.2456, allocations: 0.5992 MB / 0.7098 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.2461, allocations: 51.69 kB / 0.7098 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.2461, allocations: 23.98 kB / 0.7099 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005684/0.2467, allocations: 308.1 kB / 0.7102 GB, free: 7.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004753/0.2472, allocations: 261.4 kB / 0.7104 GB, free: 6.797 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008687/0.2481, allocations: 460.9 kB / 0.7108 GB, free: 6.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.2481, allocations: 0 / 0.7108 GB, free: 6.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001297/0.2494, allocations: 0.5848 MB / 0.7114 GB, free: 5.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.2495, allocations: 41.69 kB / 0.7115 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2495, allocations: 4 kB / 0.7115 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2496, allocations: 52.98 kB / 0.7115 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.25, allocations: 75.81 kB / 0.7116 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.2515, allocations: 1.81 MB / 0.7133 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.252, allocations: 59.77 kB / 0.7134 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.252, allocations: 12 kB / 0.7134 GB, free: 3.5 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.0002032/0.2522, allocations: 233.9 kB / 0.7136 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.2524, allocations: 55.34 kB / 0.7137 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.2538, allocations: 0.6461 MB / 0.7143 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2538, allocations: 8 kB / 0.7143 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2538, allocations: 0 / 0.7143 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/0.255, allocations: 0.8024 MB / 0.7151 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.2572, allocations: 1.301 MB / 0.7164 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2572, allocations: 0 / 0.7164 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.2575, allocations: 59.95 kB / 0.7164 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.2577, allocations: 48.77 kB / 0.7165 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.2577, allocations: 12 kB / 0.7165 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000364/0.2581, allocations: 0.5759 MB / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2581, allocations: 0 / 0.7171 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.2599, allocations: 0.9647 MB / 0.718 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.2602, allocations: 176.3 kB / 0.7182 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.2603, allocations: 8 kB / 0.7182 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.2608, allocations: 52.02 kB / 0.7182 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.2609, allocations: 23.91 kB / 0.7183 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.2609, allocations: 19.98 kB / 0.7183 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004026/0.2613, allocations: 354.8 kB / 0.7186 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2614, allocations: 0 / 0.7186 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001068/0.2624, allocations: 331.5 kB / 0.7189 GB, free: 13.59 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.0007598/0.2632, allocations: 311.9 kB / 0.7192 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.2653, allocations: 0.9664 MB / 0.7202 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2653, allocations: 4.062 kB / 0.7202 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005996/0.2659, allocations: 331.1 kB / 0.7205 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.267, allocations: 221.2 kB / 0.7207 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.2692, allocations: 1.135 MB / 0.7218 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.2697, allocations: 0.8823 MB / 0.7227 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2698, allocations: 43.42 kB / 0.7227 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/0.2699, allocations: 0 / 0.7227 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of Templates: time 0.01706/0.2869, allocations: 11.53 MB / 0.734 GB, free: 14.11 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)