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.001158/0.001158, allocations: 116.1 kB / 16.42 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.001114/0.001114, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.188/1.188, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.73/0.73, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 62.34 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1199, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01812/0.1381, allocations: 20.83 MB / 0.6857 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006279/0.1444, allocations: 5.39 MB / 0.6909 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.1447, allocations: 27.81 kB / 0.6909 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.1453, allocations: 337.8 kB / 0.6913 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.147, allocations: 0.9642 MB / 0.6922 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.1488, allocations: 0.9399 MB / 0.6931 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1503, allocations: 1.734 MB / 0.6948 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.1509, allocations: 0.4972 MB / 0.6953 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.1521, allocations: 0.7171 MB / 0.696 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00051/0.1526, allocations: 493.8 kB / 0.6965 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.1527, allocations: 40 kB / 0.6965 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.1542, allocations: 1.123 MB / 0.6976 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1544, allocations: 147.4 kB / 0.6978 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.1547, allocations: 322.3 kB / 0.6981 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.156, allocations: 1.215 MB / 0.6992 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.156, allocations: 4 kB / 0.6993 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.156, allocations: 0 / 0.6993 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.156, allocations: 0 / 0.6993 GB, free: 2.906 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.001369/0.1574, allocations: 1.045 MB / 0.7003 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1574, allocations: 13.11 kB / 0.7003 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/0.1583, allocations: 175.9 kB / 0.7005 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/0.1593, allocations: 0.5956 MB / 0.701 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1593, allocations: 33 kB / 0.7011 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.1594, allocations: 36 kB / 0.7011 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.1602, allocations: 0.4959 MB / 0.7016 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1603, allocations: 4 kB / 0.7016 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.1603, allocations: 16 kB / 0.7016 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.1603, allocations: 12 kB / 0.7016 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009045/0.1612, allocations: 406.6 kB / 0.702 GB, free: 15.96 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.002549/0.1638, allocations: 2.274 MB / 0.7042 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.1647, allocations: 363.9 kB / 0.7046 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.1652, allocations: 227.1 kB / 0.7048 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.1654, allocations: 336.6 kB / 0.7051 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.166, allocations: 305.9 kB / 0.7054 GB, free: 12.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.166, allocations: 0 / 0.7054 GB, free: 12.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002011/0.168, allocations: 0.846 MB / 0.7062 GB, free: 11.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1681, allocations: 85.11 kB / 0.7063 GB, free: 11.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.1685, allocations: 495 kB / 0.7068 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.1686, allocations: 33.7 kB / 0.7068 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1688, allocations: 280.4 kB / 0.7071 GB, free: 10.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.1689, allocations: 110.4 kB / 0.7072 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.169, allocations: 81.34 kB / 0.7073 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1691, allocations: 366.8 kB / 0.7076 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.1695, allocations: 176.5 kB / 0.7078 GB, free: 9.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.17, allocations: 265.2 kB / 0.708 GB, free: 9.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.1709, allocations: 461 kB / 0.7085 GB, free: 8.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1709, allocations: 3.938 kB / 0.7085 GB, free: 8.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001302/0.1722, allocations: 0.62 MB / 0.7091 GB, free: 8.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.1723, allocations: 39.09 kB / 0.7091 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1723, allocations: 4 kB / 0.7091 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.1726, allocations: 76.84 kB / 0.7092 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.1729, allocations: 71.94 kB / 0.7093 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004075/0.1734, allocations: 0.5953 MB / 0.7098 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.1738, allocations: 59.67 kB / 0.7099 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.1738, allocations: 16 kB / 0.7099 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005587/0.1744, allocations: 308.1 kB / 0.7102 GB, free: 7.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004616/0.1749, allocations: 257.4 kB / 0.7105 GB, free: 6.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008262/0.1757, allocations: 468.9 kB / 0.7109 GB, free: 6.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.1757, allocations: 0 / 0.7109 GB, free: 6.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001158/0.1769, allocations: 0.5848 MB / 0.7115 GB, free: 5.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1769, allocations: 41.69 kB / 0.7115 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1769, allocations: 4 kB / 0.7115 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.1771, allocations: 48.83 kB / 0.7116 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1774, allocations: 76.11 kB / 0.7116 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.1787, allocations: 1.802 MB / 0.7134 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.1791, allocations: 67.69 kB / 0.7135 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1792, allocations: 12 kB / 0.7135 GB, free: 3.449 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.0001606/0.1794, allocations: 237.9 kB / 0.7137 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.1794, allocations: 59.28 kB / 0.7138 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.1807, allocations: 0.6464 MB / 0.7144 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/0.1819, allocations: 0.8062 MB / 0.7152 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1819, allocations: 0 / 0.7152 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.1821, allocations: 176.3 kB / 0.7153 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.1822, allocations: 8 kB / 0.7154 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.1827, allocations: 39.97 kB / 0.7154 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1827, allocations: 23.95 kB / 0.7154 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001441/0.1842, allocations: 0.7401 MB / 0.7161 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00161/0.1858, allocations: 0.9795 MB / 0.7171 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004775/0.1863, allocations: 240.4 kB / 0.7173 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003363/0.1866, allocations: 346.8 kB / 0.7177 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Backend: time 5.21e-07/0.1866, allocations: 0 / 0.7177 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.1891, allocations: 1.168 MB / 0.7188 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001951/0.1911, allocations: 1.614 MB / 0.7204 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.01925/0.2104, allocations: 13.86 MB / 0.7339 GB, free: 14.35 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)