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.001349/0.001349, allocations: 110.6 kB / 16.42 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.001327/0.001328, allocations: 190.7 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7667/0.7667, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 72.17 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01942/0.1417, allocations: 20.83 MB / 0.6807 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00684/0.1486, allocations: 5.381 MB / 0.686 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.149, allocations: 19.88 kB / 0.686 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.1497, allocations: 349.8 kB / 0.6863 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.1515, allocations: 0.9602 MB / 0.6872 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.1535, allocations: 0.9346 MB / 0.6882 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.1553, allocations: 1.742 MB / 0.6899 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.1559, allocations: 497.2 kB / 0.6903 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.1572, allocations: 0.7136 MB / 0.691 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.1578, allocations: 497.8 kB / 0.6915 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.1579, allocations: 44 kB / 0.6915 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.1596, allocations: 1.131 MB / 0.6926 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1597, allocations: 139.4 kB / 0.6928 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.16, allocations: 330.2 kB / 0.6931 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.1615, allocations: 1.219 MB / 0.6943 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1615, allocations: 0 / 0.6943 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1615, allocations: 0 / 0.6943 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1615, allocations: 0 / 0.6943 GB, free: 7.371 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.001461/0.163, allocations: 1.045 MB / 0.6953 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.163, allocations: 8.031 kB / 0.6953 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009174/0.1639, allocations: 176 kB / 0.6955 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.165, allocations: 0.5956 MB / 0.6961 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.165, allocations: 36.98 kB / 0.6961 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.1651, allocations: 36 kB / 0.6961 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009311/0.166, allocations: 499.9 kB / 0.6966 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1661, allocations: 7.938 kB / 0.6966 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.1661, allocations: 12 kB / 0.6966 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.1661, allocations: 12 kB / 0.6966 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.1671, allocations: 406.6 kB / 0.697 GB, free: 4.441 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.002786/0.1699, allocations: 2.274 MB / 0.6993 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009558/0.1709, allocations: 362.9 kB / 0.6996 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.1714, allocations: 232.9 kB / 0.6998 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.1717, allocations: 340.7 kB / 0.7001 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.1723, allocations: 305.9 kB / 0.7004 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.1723, allocations: 0 / 0.7004 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002183/0.1745, allocations: 0.8429 MB / 0.7013 GB, free: 15.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1745, allocations: 81.11 kB / 0.7013 GB, free: 15.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.1751, allocations: 491 kB / 0.7018 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.1751, allocations: 33.7 kB / 0.7018 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.1753, allocations: 288.3 kB / 0.7021 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.1754, allocations: 110.4 kB / 0.7022 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1756, allocations: 81.62 kB / 0.7023 GB, free: 14.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1757, allocations: 358.8 kB / 0.7026 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.1761, allocations: 180.5 kB / 0.7028 GB, free: 14.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.1766, allocations: 257.3 kB / 0.7031 GB, free: 13.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.1776, allocations: 474 kB / 0.7035 GB, free: 13.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1776, allocations: 4 kB / 0.7035 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001371/0.179, allocations: 0.6086 MB / 0.7041 GB, free: 12.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.179, allocations: 43.88 kB / 0.7041 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.179, allocations: 0 / 0.7041 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.1794, allocations: 72.69 kB / 0.7042 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.1797, allocations: 79.97 kB / 0.7043 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004503/0.1802, allocations: 0.5915 MB / 0.7049 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.1806, allocations: 67.59 kB / 0.7049 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.1807, allocations: 16 kB / 0.705 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005627/0.1813, allocations: 307.8 kB / 0.7052 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000491/0.1818, allocations: 265.2 kB / 0.7055 GB, free: 11.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009004/0.1827, allocations: 456.9 kB / 0.7059 GB, free: 10.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.1827, allocations: 4 kB / 0.7059 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00131/0.184, allocations: 0.5888 MB / 0.7065 GB, free: 10.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.1841, allocations: 37.69 kB / 0.7065 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.1841, allocations: 160 / 0.7065 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.1842, allocations: 56.89 kB / 0.7066 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.1846, allocations: 75.89 kB / 0.7067 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.1861, allocations: 1.811 MB / 0.7084 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.1865, allocations: 51.66 kB / 0.7085 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.1866, allocations: 19.98 kB / 0.7085 GB, free: 7.914 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.0001721/0.1867, allocations: 235.3 kB / 0.7087 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.1868, allocations: 63.34 kB / 0.7088 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.1882, allocations: 0.6419 MB / 0.7094 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.1895, allocations: 0.7946 MB / 0.7102 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1895, allocations: 4 kB / 0.7102 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.1897, allocations: 184.2 kB / 0.7104 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.1898, allocations: 11.98 kB / 0.7104 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.1903, allocations: 39.89 kB / 0.7104 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.1903, allocations: 27.95 kB / 0.7105 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001551/0.1919, allocations: 0.7331 MB / 0.7112 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001722/0.1936, allocations: 0.9793 MB / 0.7121 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004989/0.1941, allocations: 240.4 kB / 0.7124 GB, free: 3.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003494/0.1945, allocations: 346.8 kB / 0.7127 GB, free: 3.461 MB / 0.545 GB Notification: Performance of Backend: time 4.31e-07/0.1945, allocations: 0 / 0.7127 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002596/0.1971, allocations: 1.168 MB / 0.7138 GB, free: 2.262 MB / 0.545 GB Notification: Performance of SimCode: time 0.001994/0.1991, allocations: 1.609 MB / 0.7154 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of Templates: time 0.02156/0.2207, allocations: 13.86 MB / 0.7289 GB, free: 2.859 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)