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.001182/0.001182, allocations: 109 kB / 16.41 MB, free: 6.465 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.001232/0.001232, allocations: 188.3 kB / 17.35 MB, free: 5.715 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.294/1.294, allocations: 222.9 MB / 241.1 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.7875/0.7875, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.61 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, 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.02075/0.145, allocations: 20.84 MB / 0.6857 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007303/0.1523, allocations: 5.382 MB / 0.6909 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006283/0.153, allocations: 27.81 kB / 0.691 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.1539, allocations: 345.8 kB / 0.6913 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.1562, allocations: 0.9564 MB / 0.6922 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1585, allocations: 0.9398 MB / 0.6931 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1606, allocations: 1.738 MB / 0.6948 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008174/0.1615, allocations: 0.4933 MB / 0.6953 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.1633, allocations: 0.7166 MB / 0.696 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.1641, allocations: 493.8 kB / 0.6965 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.1643, allocations: 40 kB / 0.6965 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.1662, allocations: 1.123 MB / 0.6976 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1664, allocations: 143.4 kB / 0.6978 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.1669, allocations: 326.3 kB / 0.6981 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.1689, allocations: 1.226 MB / 0.6993 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1689, allocations: 4 kB / 0.6993 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1689, allocations: 0 / 0.6993 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.1689, allocations: 0 / 0.6993 GB, free: 2.895 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.001654/0.1706, allocations: 1.071 MB / 0.7003 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1706, allocations: 13.11 kB / 0.7003 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.1716, allocations: 176.3 kB / 0.7005 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.1727, allocations: 0.604 MB / 0.7011 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.1728, allocations: 32.94 kB / 0.7011 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.1728, allocations: 40 kB / 0.7012 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.1738, allocations: 495.9 kB / 0.7016 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1738, allocations: 8 kB / 0.7016 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.1739, allocations: 12 kB / 0.7016 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.1739, allocations: 12 kB / 0.7017 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.1749, allocations: 406.6 kB / 0.702 GB, free: 15.93 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.002848/0.1778, allocations: 2.282 MB / 0.7043 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.1787, allocations: 367.9 kB / 0.7046 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.1792, allocations: 221 kB / 0.7048 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.1795, allocations: 344.7 kB / 0.7052 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.1801, allocations: 301.9 kB / 0.7055 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.1801, allocations: 0 / 0.7055 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002191/0.1823, allocations: 0.8463 MB / 0.7063 GB, free: 11.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1824, allocations: 81.11 kB / 0.7064 GB, free: 11.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.1829, allocations: 495 kB / 0.7068 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.183, allocations: 33.7 kB / 0.7069 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1832, allocations: 284.7 kB / 0.7071 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.1833, allocations: 111 kB / 0.7072 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.1834, allocations: 77.39 kB / 0.7073 GB, free: 10.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1836, allocations: 370.8 kB / 0.7077 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.184, allocations: 176.5 kB / 0.7078 GB, free: 9.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.1846, allocations: 269.2 kB / 0.7081 GB, free: 9.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.1855, allocations: 468.9 kB / 0.7085 GB, free: 8.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1855, allocations: 0 / 0.7085 GB, free: 8.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001392/0.1869, allocations: 0.6125 MB / 0.7091 GB, free: 8.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.187, allocations: 37.69 kB / 0.7092 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.187, allocations: 4 kB / 0.7092 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.1873, allocations: 76.97 kB / 0.7093 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.1877, allocations: 75.88 kB / 0.7093 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004554/0.1882, allocations: 0.5953 MB / 0.7099 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.1886, allocations: 59.72 kB / 0.71 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.1887, allocations: 20.06 kB / 0.71 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005794/0.1893, allocations: 312.1 kB / 0.7103 GB, free: 6.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004957/0.1898, allocations: 257.4 kB / 0.7105 GB, free: 6.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009033/0.1907, allocations: 465 kB / 0.711 GB, free: 6.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1907, allocations: 0 / 0.711 GB, free: 6.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001262/0.192, allocations: 0.5851 MB / 0.7115 GB, free: 5.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.192, allocations: 43.41 kB / 0.7116 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.192, allocations: 4 kB / 0.7116 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.1922, allocations: 52.77 kB / 0.7116 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.1926, allocations: 72.05 kB / 0.7117 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.1941, allocations: 1.814 MB / 0.7135 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.1945, allocations: 55.86 kB / 0.7135 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1946, allocations: 15.98 kB / 0.7135 GB, free: 3.387 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.0001722/0.1947, allocations: 233.9 kB / 0.7138 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.1948, allocations: 59.62 kB / 0.7138 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.1962, allocations: 0.6464 MB / 0.7145 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/0.1975, allocations: 0.8139 MB / 0.7152 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1975, allocations: 3.984 kB / 0.7153 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.1978, allocations: 180.6 kB / 0.7154 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.1978, allocations: 8 kB / 0.7154 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.1983, allocations: 35.97 kB / 0.7155 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1984, allocations: 27.95 kB / 0.7155 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001569/0.2, allocations: 0.7402 MB / 0.7162 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001745/0.2017, allocations: 0.9836 MB / 0.7172 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000478/0.2022, allocations: 240.4 kB / 0.7174 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003691/0.2026, allocations: 342.8 kB / 0.7177 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Backend: time 7.11e-07/0.2026, allocations: 0 / 0.7177 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00298/0.2056, allocations: 1.182 MB / 0.7189 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002034/0.2076, allocations: 1.623 MB / 0.7205 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.02229/0.2299, allocations: 13.85 MB / 0.734 GB, free: 14.25 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)