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.001793/0.001793, allocations: 109.2 kB / 16.41 MB, free: 6.043 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.001914/0.001914, allocations: 186.7 kB / 17.34 MB, free: 5.609 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8516/0.8516, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 69.61 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1796, allocations: 80.92 MB / 0.6654 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02489/0.2045, allocations: 20.86 MB / 0.6857 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009231/0.2137, allocations: 5.406 MB / 0.691 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2147, allocations: 23.88 kB / 0.691 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.2158, allocations: 353.8 kB / 0.6914 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.2186, allocations: 0.9602 MB / 0.6923 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.2213, allocations: 0.9425 MB / 0.6932 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.2243, allocations: 1.739 MB / 0.6949 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008185/0.2251, allocations: 437.2 kB / 0.6953 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.2272, allocations: 0.7071 MB / 0.696 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.2279, allocations: 493.8 kB / 0.6965 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.228, allocations: 48 kB / 0.6966 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.2303, allocations: 1.131 MB / 0.6977 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.2306, allocations: 147.3 kB / 0.6978 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.2309, allocations: 318.3 kB / 0.6981 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.2332, allocations: 1.23 MB / 0.6993 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2332, allocations: 0 / 0.6993 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2332, allocations: 0 / 0.6993 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2332, allocations: 0 / 0.6993 GB, free: 2.828 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.001977/0.2352, allocations: 1.075 MB / 0.7004 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2352, allocations: 9.109 kB / 0.7004 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.2361, allocations: 184.3 kB / 0.7005 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.2374, allocations: 0.5884 MB / 0.7011 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.2374, allocations: 29 kB / 0.7011 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.2375, allocations: 47.98 kB / 0.7012 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2385, allocations: 499.9 kB / 0.7017 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2386, allocations: 0 / 0.7017 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.2386, allocations: 16 kB / 0.7017 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.2386, allocations: 11.94 kB / 0.7017 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.2397, allocations: 406.6 kB / 0.7021 GB, free: 15.86 MB / 0.545 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.003281/0.243, allocations: 2.286 MB / 0.7043 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.244, allocations: 339.9 kB / 0.7046 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.2445, allocations: 205 kB / 0.7048 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.2449, allocations: 336.7 kB / 0.7051 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.2456, allocations: 302.5 kB / 0.7054 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 3.427e-06/0.2456, allocations: 3.938 kB / 0.7054 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002558/0.2482, allocations: 0.8542 MB / 0.7063 GB, free: 11.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.2482, allocations: 89.09 kB / 0.7064 GB, free: 11.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.249, allocations: 491 kB / 0.7068 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.249, allocations: 33.7 kB / 0.7069 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.2493, allocations: 284.7 kB / 0.7071 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.2495, allocations: 111 kB / 0.7072 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2496, allocations: 81.39 kB / 0.7073 GB, free: 10.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.2499, allocations: 362.7 kB / 0.7077 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.2503, allocations: 184.5 kB / 0.7078 GB, free: 9.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.2509, allocations: 257.3 kB / 0.7081 GB, free: 9.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009922/0.2519, allocations: 472.9 kB / 0.7085 GB, free: 8.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2519, allocations: 0 / 0.7085 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002027/0.254, allocations: 0.6098 MB / 0.7091 GB, free: 8.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.254, allocations: 41.69 kB / 0.7092 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.254, allocations: 4.094 kB / 0.7092 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.2545, allocations: 72.88 kB / 0.7092 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.2549, allocations: 83.81 kB / 0.7093 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000594/0.2555, allocations: 0.5953 MB / 0.7099 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.256, allocations: 59.69 kB / 0.71 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.2561, allocations: 16 kB / 0.71 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006625/0.2567, allocations: 308.1 kB / 0.7103 GB, free: 6.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005387/0.2573, allocations: 265.4 kB / 0.7105 GB, free: 6.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009758/0.2582, allocations: 457 kB / 0.711 GB, free: 6.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.2582, allocations: 4 kB / 0.711 GB, free: 6.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001394/0.2596, allocations: 0.5851 MB / 0.7115 GB, free: 5.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2597, allocations: 37.7 kB / 0.7116 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2597, allocations: 3.984 kB / 0.7116 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.2599, allocations: 49 kB / 0.7116 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.2602, allocations: 79.81 kB / 0.7117 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.2621, allocations: 1.806 MB / 0.7135 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.2626, allocations: 52.11 kB / 0.7135 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2627, allocations: 19.98 kB / 0.7135 GB, free: 3.367 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.0002793/0.263, allocations: 233.7 kB / 0.7138 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2631, allocations: 67.56 kB / 0.7138 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2646, allocations: 0.6391 MB / 0.7144 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.2647, allocations: 15.97 kB / 0.7145 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2647, allocations: 0 / 0.7145 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.2661, allocations: 0.8017 MB / 0.7152 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.2686, allocations: 1.308 MB / 0.7165 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2686, allocations: 4.031 kB / 0.7165 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.2689, allocations: 63.94 kB / 0.7166 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.2691, allocations: 40.78 kB / 0.7166 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.2691, allocations: 15.98 kB / 0.7166 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004807/0.2696, allocations: 0.5758 MB / 0.7172 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2696, allocations: 4.031 kB / 0.7172 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.2716, allocations: 0.9697 MB / 0.7181 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.2719, allocations: 180.6 kB / 0.7183 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.272, allocations: 8 kB / 0.7183 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.2725, allocations: 40.03 kB / 0.7184 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.2725, allocations: 23.91 kB / 0.7184 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.2726, allocations: 23.97 kB / 0.7184 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004504/0.273, allocations: 350.9 kB / 0.7187 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.273, allocations: 0 / 0.7187 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001092/0.2741, allocations: 339.3 kB / 0.7191 GB, free: 13.43 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.0007761/0.2749, allocations: 311.9 kB / 0.7194 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.2771, allocations: 0.8894 MB / 0.7202 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2771, allocations: 0 / 0.7202 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.2777, allocations: 283.2 kB / 0.7205 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2789, allocations: 231 kB / 0.7207 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.2813, allocations: 1.153 MB / 0.7219 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.2818, allocations: 0.8784 MB / 0.7227 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.282, allocations: 51.41 kB / 0.7228 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.282, allocations: 0 / 0.7228 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of Templates: time 0.01759/0.2995, allocations: 11.49 MB / 0.734 GB, free: 14.09 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)