Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007315/0.007315, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.3 MB / 148.1 MB, free: 188 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.2 MB / 403.2 MB, free: 6.605 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.0009391/0.0009392, allocations: 99.31 kB / 485.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004214, allocations: 12 kB / 0.5641 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4455, allocations: 81.58 MB / 0.6437 GB, free: 39.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.743, allocations: 424.6 MB / 1.058 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.743, allocations: 99.84 kB / 1.058 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 47.69/49.43, allocations: 10.56 GB / 11.62 GB, free: 44.72 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.236e-06/49.43, allocations: 0 / 11.62 GB, free: 44.72 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003415/49.43, allocations: 395.2 kB / 11.62 GB, free: 44.65 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.08494/49.52, allocations: 18.83 MB / 11.64 GB, free: 37.97 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/49.52, allocations: 8.969 kB / 11.64 GB, free: 37.97 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/49.54, allocations: 2.202 MB / 11.64 GB, free: 37.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07557/49.61, allocations: 20.48 MB / 11.66 GB, free: 34.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/49.61, allocations: 0.5998 MB / 11.66 GB, free: 34.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0054/49.62, allocations: 0.8101 MB / 11.66 GB, free: 34.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04528/49.66, allocations: 14.24 MB / 11.68 GB, free: 34.01 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008156/49.66, allocations: 15.12 kB / 11.68 GB, free: 34.01 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005682/49.67, allocations: 289.2 kB / 11.68 GB, free: 34.01 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003784/49.67, allocations: 189.7 kB / 11.68 GB, free: 34.01 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04493/49.72, allocations: 18.48 MB / 11.69 GB, free: 33.95 MB / 0.9792 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.1715/49.89, allocations: 74.32 MB / 11.77 GB, free: 16.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/49.91, allocations: 9.798 MB / 11.78 GB, free: 16.02 MB / 0.9948 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 evalFunc (simulation): time 0.0776/49.99, allocations: 29.96 MB / 11.81 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01765/50, allocations: 8.263 MB / 11.81 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05379/50.06, allocations: 14.74 MB / 11.83 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=427): time 7.816e-05/50.06, allocations: 0 / 11.83 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of matching and sorting (n=616): time 0.3999/50.46, allocations: 107.3 MB / 11.93 GB, free: 13.15 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/50.46, allocations: 120.8 kB / 11.93 GB, free: 13.08 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04278/50.5, allocations: 12.92 MB / 11.95 GB, free: 10.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.005313/50.51, allocations: 194.3 kB / 11.95 GB, free: 10.69 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01447/50.52, allocations: 6.68 MB / 11.95 GB, free: 5.465 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.007178/50.53, allocations: 2.083 MB / 11.95 GB, free: 3.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004442/50.53, allocations: 157.2 kB / 11.95 GB, free: 3.719 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001022/50.53, allocations: 0.6239 MB / 11.95 GB, free: 3.266 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02021/50.55, allocations: 8.522 MB / 11.96 GB, free: 52 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221/51.77, allocations: 12.81 MB / 11.98 GB, free: 71.62 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02506/51.8, allocations: 9.471 MB / 11.98 GB, free: 71.48 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/51.8, allocations: 12.56 kB / 11.98 GB, free: 71.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.08776/51.89, allocations: 27.44 MB / 12.01 GB, free: 71.14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01024/51.9, allocations: 34.9 MB / 12.05 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004148/51.9, allocations: 51.97 kB / 12.05 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.609/52.51, allocations: 146.8 MB / 12.19 GB, free: 34.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/52.52, allocations: 1.95 MB / 12.19 GB, free: 34.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04102/52.56, allocations: 24.82 MB / 12.22 GB, free: 29.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02481/52.59, allocations: 1.362 MB / 12.22 GB, free: 28.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005785/52.59, allocations: 0.8146 MB / 12.22 GB, free: 28.99 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/52.59, allocations: 3.906 kB / 12.22 GB, free: 28.99 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07764/52.67, allocations: 26.38 MB / 12.24 GB, free: 28.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000339/52.67, allocations: 55.12 kB / 12.24 GB, free: 28.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835/54.5, allocations: 147.1 MB / 12.39 GB, free: 99.99 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/54.51, allocations: 1.934 MB / 12.39 GB, free: 99.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0575/54.57, allocations: 29.53 MB / 12.42 GB, free: 96.12 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02404/54.6, allocations: 1.334 MB / 12.42 GB, free: 96.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005317/54.6, allocations: 0.7705 MB / 12.42 GB, free: 96.12 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 744 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01722/54.62, allocations: 3.375 MB / 12.42 GB, free: 95.93 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01026/54.63, allocations: 1.305 MB / 12.42 GB, free: 95.93 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2157/54.85, allocations: 47.17 MB / 12.47 GB, free: 95.29 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000334/54.85, allocations: 74.03 kB / 12.47 GB, free: 95.29 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/54.85, allocations: 2.312 kB / 12.47 GB, free: 95.29 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1934/55.04, allocations: 41.55 MB / 12.51 GB, free: 94.7 MB / 1.042 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 postOpt removeSimpleEquations (simulation): time 0.1415/55.18, allocations: 48.65 MB / 12.56 GB, free: 88.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001169/55.18, allocations: 10.27 kB / 12.56 GB, free: 88.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008044/55.19, allocations: 1.345 MB / 12.56 GB, free: 88.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1748/55.36, allocations: 42.02 MB / 12.6 GB, free: 88.27 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002992/55.37, allocations: 201.5 kB / 12.6 GB, free: 88.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/55.39, allocations: 13.77 MB / 12.61 GB, free: 81.08 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/55.39, allocations: 11.28 kB / 12.61 GB, free: 81.07 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1458/55.53, allocations: 45.07 MB / 12.66 GB, free: 56.97 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0233/55.56, allocations: 3.126 MB / 12.66 GB, free: 55.26 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01242/55.57, allocations: 139.5 kB / 12.66 GB, free: 55.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02672/55.6, allocations: 1.066 MB / 12.66 GB, free: 54.59 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00394/55.6, allocations: 474.1 kB / 12.66 GB, free: 54.35 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003311/55.6, allocations: 309.8 kB / 12.66 GB, free: 54.15 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0339/55.64, allocations: 9.878 MB / 12.67 GB, free: 49.14 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.41e-07/55.64, allocations: 0 / 12.67 GB, free: 49.14 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.07742/55.72, allocations: 7.227 MB / 12.68 GB, free: 42.84 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01541/55.73, allocations: 5.55 MB / 12.69 GB, free: 38.23 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 1.209/56.94, allocations: 34.74 MB / 12.72 GB, free: 97.65 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.656e-05/56.94, allocations: 1.5 kB / 12.72 GB, free: 97.65 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02645/56.97, allocations: 9.564 MB / 12.73 GB, free: 97.59 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04613/57.01, allocations: 6.723 MB / 12.74 GB, free: 97.54 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09599/57.11, allocations: 32.46 MB / 12.77 GB, free: 85.66 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/57.13, allocations: 7.714 MB / 12.77 GB, free: 84.67 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.03341/57.16, allocations: 4.105 MB / 12.78 GB, free: 84.55 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00789/57.17, allocations: 1.096 MB / 12.78 GB, free: 84.55 MB / 1.042 GB Notification: Performance of SimCode: time 1.373e-06/57.17, allocations: 0 / 12.78 GB, free: 84.55 MB / 1.042 GB Notification: Performance of Templates: time 2.622/59.79, allocations: 419.3 MB / 13.19 GB, free: 119.5 MB / 1.073 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)