Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.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/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/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.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic") translateModel(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 130.7 MB / 138.7 MB, free: 3.586 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.444/1.444, allocations: 221.5 MB / 391.8 MB, free: 14.14 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.0009041/0.000904, allocations: 95.98 kB / 473.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.949e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.517, allocations: 81.57 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.943/1.46, allocations: 423 MB / 1.041 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.46, allocations: 94.25 kB / 1.041 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 29.22/30.69, allocations: 6.44 GB / 7.482 GB, free: 55.71 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.924e-06/30.69, allocations: 2.531 kB / 7.482 GB, free: 55.71 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.003832/30.69, allocations: 445 kB / 7.482 GB, free: 55.63 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05543/30.74, allocations: 13.51 MB / 7.495 GB, free: 49.82 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/30.74, allocations: 9.406 kB / 7.495 GB, free: 49.82 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/30.76, allocations: 2.195 MB / 7.497 GB, free: 48.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07118/30.83, allocations: 21.62 MB / 7.518 GB, free: 46.31 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006272/30.83, allocations: 255.1 kB / 7.519 GB, free: 46.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005111/30.84, allocations: 0.5919 MB / 7.519 GB, free: 46.29 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03257/30.87, allocations: 19.83 MB / 7.539 GB, free: 46.26 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03631/30.91, allocations: 14.57 MB / 7.553 GB, free: 45.48 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004519/30.91, allocations: 21.84 kB / 7.553 GB, free: 45.48 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003609/30.91, allocations: 6.688 kB / 7.553 GB, free: 45.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003331/30.91, allocations: 369.8 kB / 7.553 GB, free: 45.46 MB / 0.9323 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.1552/31.07, allocations: 77.39 MB / 7.629 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/31.09, allocations: 13.42 MB / 7.642 GB, free: 3.941 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01923/31.11, allocations: 10.31 MB / 7.652 GB, free: 12.91 MB / 0.948 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 evalFunc (simulation): time 1.082/32.19, allocations: 34.26 MB / 7.686 GB, free: 78.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02003/32.21, allocations: 9.309 MB / 7.695 GB, free: 78.71 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04859/32.26, allocations: 14.93 MB / 7.709 GB, free: 78.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=638): time 7.562e-05/32.26, allocations: 0 / 7.709 GB, free: 78.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=640): time 0.6639/32.92, allocations: 140.8 MB / 7.847 GB, free: 74.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/32.92, allocations: 119.9 kB / 7.847 GB, free: 74.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03247/32.95, allocations: 13.35 MB / 7.86 GB, free: 74.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005037/32.96, allocations: 39.98 kB / 7.86 GB, free: 74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0119/32.97, allocations: 7.176 MB / 7.867 GB, free: 72.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006526/32.98, allocations: 2.177 MB / 7.869 GB, free: 71.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003168/32.98, allocations: 0 / 7.869 GB, free: 71.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008211/32.98, allocations: 0.6501 MB / 7.87 GB, free: 71.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/33, allocations: 8.155 MB / 7.878 GB, free: 71.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01961/33.02, allocations: 10.96 MB / 7.888 GB, free: 68.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02147/33.04, allocations: 9.51 MB / 7.898 GB, free: 67.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/33.04, allocations: 12.28 kB / 7.898 GB, free: 67.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.6089/33.65, allocations: 124.2 MB / 8.019 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.142/34.79, allocations: 31.89 MB / 8.05 GB, free: 54.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003567/34.79, allocations: 44.84 kB / 8.05 GB, free: 54.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6525/35.44, allocations: 144.6 MB / 8.191 GB, free: 54.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/35.46, allocations: 2.554 MB / 8.194 GB, free: 54.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/35.6, allocations: 68.76 MB / 8.261 GB, free: 47.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0259/35.63, allocations: 1.019 MB / 8.262 GB, free: 47.64 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006118/35.64, allocations: 0.793 MB / 8.263 GB, free: 47.64 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/35.64, allocations: 4.5 kB / 8.263 GB, free: 47.64 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6057/36.24, allocations: 121.2 MB / 8.381 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003885/36.24, allocations: 48 kB / 8.381 GB, free: 14.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814/38.06, allocations: 144.5 MB / 8.522 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/38.07, allocations: 2.522 MB / 8.525 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1534/38.22, allocations: 73.27 MB / 8.596 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02346/38.24, allocations: 1.009 MB / 8.597 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005514/38.25, allocations: 0.7449 MB / 8.598 GB, free: 113.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 843 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.006838/38.26, allocations: 314.8 kB / 8.598 GB, free: 113.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006952/38.26, allocations: 1.405 MB / 8.6 GB, free: 113.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1907/38.45, allocations: 44.71 MB / 8.643 GB, free: 112.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000153/38.45, allocations: 74.5 kB / 8.643 GB, free: 112.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.306e-05/38.45, allocations: 27.41 kB / 8.643 GB, free: 112.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1661/38.62, allocations: 39.49 MB / 8.682 GB, free: 90.34 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2155/38.84, allocations: 60.04 MB / 8.741 GB, free: 43.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.387e-05/38.84, allocations: 5.422 kB / 8.741 GB, free: 43.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006845/38.84, allocations: 1.132 MB / 8.742 GB, free: 42.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191/40.03, allocations: 41.81 MB / 8.783 GB, free: 123.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002992/40.04, allocations: 153.4 kB / 8.783 GB, free: 123.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07737/40.11, allocations: 28.71 MB / 8.811 GB, free: 117.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/40.11, allocations: 8.031 kB / 8.811 GB, free: 117.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2224/40.34, allocations: 50.26 MB / 8.86 GB, free: 116.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01302/40.35, allocations: 3.325 MB / 8.863 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006864/40.36, allocations: 78.31 kB / 8.863 GB, free: 116.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01792/40.38, allocations: 0.8574 MB / 8.864 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003363/40.38, allocations: 455.1 kB / 8.864 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001499/40.38, allocations: 277.1 kB / 8.865 GB, free: 116 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02401/40.4, allocations: 10.05 MB / 8.874 GB, free: 115.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.11e-07/40.4, allocations: 0 / 8.874 GB, free: 115.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05107/40.46, allocations: 7.865 MB / 8.882 GB, free: 115.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],pumpCoo.filter.s[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (535): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/40.47, allocations: 5.212 MB / 8.887 GB, free: 113.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0764/40.54, allocations: 33.91 MB / 8.92 GB, free: 112.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/40.54, allocations: 2.938 kB / 8.92 GB, free: 112.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01921/40.56, allocations: 8.91 MB / 8.929 GB, free: 112.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04496/40.61, allocations: 7.134 MB / 8.936 GB, free: 112.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06679/40.67, allocations: 26.55 MB / 8.962 GB, free: 106.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01585/40.69, allocations: 8.575 MB / 8.97 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03777/40.73, allocations: 7.836 MB / 8.978 GB, free: 105.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/40.73, allocations: 0.7768 MB / 8.979 GB, free: 105.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/40.73, allocations: 0 / 8.979 GB, free: 105.6 MB / 1.01 GB Notification: Performance of Templates: time 2.585/43.32, allocations: 422.2 MB / 9.391 GB, free: 62.62 MB / 1.011 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)