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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001498, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8972/0.8972, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009201, allocations: 106.3 kB / 478.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.909e-05, allocations: 4 kB / 0.5535 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5054, allocations: 82.31 MB / 0.6338 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8622/1.368, allocations: 362.4 MB / 0.9877 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.368, allocations: 85.64 kB / 0.9878 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.005/2.373, allocations: 257.4 MB / 1.239 GB, free: 72.12 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.456e-06/2.373, allocations: 4 kB / 1.239 GB, free: 72.11 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.998e-05/2.373, allocations: 24.11 kB / 1.239 GB, free: 72.09 MB / 0.6667 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.002475/2.376, allocations: 0.9136 MB / 1.24 GB, free: 71.12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/2.376, allocations: 8.031 kB / 1.24 GB, free: 71.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/2.377, allocations: 187 kB / 1.24 GB, free: 70.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/2.401, allocations: 11.98 MB / 1.252 GB, free: 58.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/2.401, allocations: 80.72 kB / 1.252 GB, free: 58.69 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/2.402, allocations: 28 kB / 1.252 GB, free: 58.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006977/2.402, allocations: 289.5 kB / 1.252 GB, free: 58.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/2.403, allocations: 416.6 kB / 1.253 GB, free: 57.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/2.403, allocations: 0 / 1.253 GB, free: 57.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/2.403, allocations: 7.938 kB / 1.253 GB, free: 57.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/2.403, allocations: 16.73 kB / 1.253 GB, free: 57.92 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.003102/2.406, allocations: 2.185 MB / 1.255 GB, free: 55.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/2.407, allocations: 270.8 kB / 1.255 GB, free: 55.27 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/2.407, allocations: 173 kB / 1.255 GB, free: 55.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/2.407, allocations: 344.7 kB / 1.256 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/2.408, allocations: 246.8 kB / 1.256 GB, free: 54.42 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/2.408, allocations: 0 / 1.256 GB, free: 54.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001138/2.409, allocations: 470 kB / 1.256 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/2.409, allocations: 85.11 kB / 1.256 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/2.409, allocations: 369.3 kB / 1.257 GB, free: 53.49 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/2.409, allocations: 29.7 kB / 1.257 GB, free: 53.46 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/2.409, allocations: 280.3 kB / 1.257 GB, free: 53.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/2.41, allocations: 98.5 kB / 1.257 GB, free: 53.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/2.41, allocations: 0 / 1.257 GB, free: 53.08 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001048/2.41, allocations: 366.7 kB / 1.258 GB, free: 52.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/2.41, allocations: 123.9 kB / 1.258 GB, free: 52.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/2.41, allocations: 220.5 kB / 1.258 GB, free: 52.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/2.41, allocations: 156.9 kB / 1.258 GB, free: 52.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/2.41, allocations: 8 kB / 1.258 GB, free: 52.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009233/2.411, allocations: 0.4977 MB / 1.259 GB, free: 51.67 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/2.412, allocations: 0.6452 MB / 1.259 GB, free: 50.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/2.412, allocations: 4 kB / 1.259 GB, free: 50.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/2.412, allocations: 40.84 kB / 1.259 GB, free: 50.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/2.412, allocations: 91.83 kB / 1.259 GB, free: 50.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003847/2.413, allocations: 0.603 MB / 1.26 GB, free: 50.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/2.413, allocations: 67.8 kB / 1.26 GB, free: 50.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/2.413, allocations: 19.98 kB / 1.26 GB, free: 50.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/2.413, allocations: 4 kB / 1.26 GB, free: 50.11 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007939/2.414, allocations: 436.2 kB / 1.26 GB, free: 49.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/2.414, allocations: 3.984 kB / 1.26 GB, free: 49.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/2.414, allocations: 49.02 kB / 1.26 GB, free: 49.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/2.415, allocations: 87.88 kB / 1.261 GB, free: 49.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/2.416, allocations: 1.572 MB / 1.262 GB, free: 47.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/2.416, allocations: 67.77 kB / 1.262 GB, free: 47.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/2.416, allocations: 23.98 kB / 1.262 GB, free: 47.75 MB / 0.6667 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001725/2.417, allocations: 152.5 kB / 1.262 GB, free: 47.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/2.417, allocations: 55.34 kB / 1.262 GB, free: 47.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009945/2.418, allocations: 0.5226 MB / 1.263 GB, free: 47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/2.418, allocations: 0 / 1.263 GB, free: 47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/2.418, allocations: 4 kB / 1.263 GB, free: 47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007553/2.419, allocations: 0.6868 MB / 1.264 GB, free: 46.24 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/2.42, allocations: 1.124 MB / 1.265 GB, free: 45.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.42, allocations: 0 / 1.265 GB, free: 45.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/2.421, allocations: 75.97 kB / 1.265 GB, free: 44.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-05/2.421, allocations: 32.84 kB / 1.265 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/2.421, allocations: 8 kB / 1.265 GB, free: 44.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002574/2.421, allocations: 0.5759 MB / 1.265 GB, free: 44.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/2.421, allocations: 8.047 kB / 1.265 GB, free: 44.33 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/2.422, allocations: 0.8306 MB / 1.266 GB, free: 43.45 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/2.422, allocations: 184.3 kB / 1.266 GB, free: 43.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/2.423, allocations: 4 kB / 1.266 GB, free: 43.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/2.423, allocations: 71.78 kB / 1.266 GB, free: 43.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/2.423, allocations: 19.97 kB / 1.266 GB, free: 43.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/2.423, allocations: 27.98 kB / 1.266 GB, free: 43.13 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003098/2.424, allocations: 286.9 kB / 1.267 GB, free: 42.86 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/2.424, allocations: 0 / 1.267 GB, free: 42.86 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001392/2.425, allocations: 371.4 kB / 1.267 GB, free: 42.49 MB / 0.6667 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/2.426, allocations: 429.5 kB / 1.267 GB, free: 42.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001198/2.427, allocations: 0.8043 MB / 1.268 GB, free: 41.23 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.427, allocations: 0 / 1.268 GB, free: 41.23 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/2.428, allocations: 265.3 kB / 1.269 GB, free: 40.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/2.429, allocations: 226.6 kB / 1.269 GB, free: 40.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/2.431, allocations: 0.7565 MB / 1.269 GB, free: 39.96 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/2.431, allocations: 0.8947 MB / 1.27 GB, free: 39.04 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000702/2.432, allocations: 148.2 kB / 1.27 GB, free: 38.89 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/2.432, allocations: 43.42 kB / 1.271 GB, free: 38.84 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/2.432, allocations: 0 / 1.271 GB, free: 38.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.01948/2.451, allocations: 11.33 MB / 1.282 GB, free: 27.61 MB / 0.6667 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)