Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8178/0.8178, allocations: 130.7 MB / 138.7 MB, free: 3.516 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.659/1.659, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.001153/0.001153, allocations: 101.7 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.989e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4791, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.89/1.369, allocations: 425.1 MB / 1.043 GB, free: 124 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.37, allocations: 96.12 kB / 1.043 GB, free: 76 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 46.36/47.73, allocations: 10.66 GB / 11.7 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.054e-06/47.73, allocations: 0 / 11.7 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.003112/47.74, allocations: 347.7 kB / 11.7 GB, free: 13.26 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04644/47.78, allocations: 11.09 MB / 11.71 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/47.78, allocations: 8.031 kB / 11.71 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9969/48.78, allocations: 2.086 MB / 11.72 GB, free: 54.15 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05703/48.84, allocations: 18.39 MB / 11.73 GB, free: 52.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/48.84, allocations: 196.9 kB / 11.73 GB, free: 52.71 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002583/48.84, allocations: 434.8 kB / 11.73 GB, free: 52.71 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01447/48.85, allocations: 6.889 MB / 11.74 GB, free: 52.69 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/48.87, allocations: 7.45 MB / 11.75 GB, free: 51.65 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/48.87, allocations: 19.73 kB / 11.75 GB, free: 51.65 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006923/48.87, allocations: 17.97 kB / 11.75 GB, free: 51.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/48.87, allocations: 154.7 kB / 11.75 GB, free: 51.65 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.09625/48.97, allocations: 48.81 MB / 11.8 GB, free: 41.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/48.98, allocations: 5.437 MB / 11.8 GB, free: 41.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006347/48.98, allocations: 3.973 MB / 11.81 GB, free: 41.09 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 0.04219/49.02, allocations: 13.49 MB / 11.82 GB, free: 37.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005992/49.03, allocations: 3.145 MB / 11.82 GB, free: 37.89 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01401/49.04, allocations: 2.283 MB / 11.82 GB, free: 37.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=326): time 4.601e-05/49.04, allocations: 2.531 kB / 11.82 GB, free: 37.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.05092/49.1, allocations: 15.74 MB / 11.84 GB, free: 34.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.398e-05/49.1, allocations: 93.08 kB / 11.84 GB, free: 34.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03179/49.13, allocations: 11.48 MB / 11.85 GB, free: 34.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001832/49.13, allocations: 39.05 kB / 11.85 GB, free: 34.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009874/49.14, allocations: 6.22 MB / 11.86 GB, free: 32.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002327/49.14, allocations: 1.087 MB / 11.86 GB, free: 31.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/49.14, allocations: 3 kB / 11.86 GB, free: 31.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007068/49.14, allocations: 0.5333 MB / 11.86 GB, free: 31.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00655/49.15, allocations: 3.039 MB / 11.86 GB, free: 31.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009353/49.16, allocations: 5.775 MB / 11.87 GB, free: 28.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/49.17, allocations: 3.987 MB / 11.87 GB, free: 28.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/49.17, allocations: 20.5 kB / 11.87 GB, free: 28.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03277/49.2, allocations: 10.75 MB / 11.88 GB, free: 27.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01846/49.22, allocations: 38.43 MB / 11.92 GB, free: 19.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002904/49.22, allocations: 63.77 kB / 11.92 GB, free: 19.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003598/49.23, allocations: 1.353 MB / 11.92 GB, free: 19.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008625/49.23, allocations: 1.392 MB / 11.92 GB, free: 19.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/49.25, allocations: 9.711 MB / 11.93 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01662/49.26, allocations: 0.742 MB / 11.93 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002674/49.26, allocations: 418 kB / 11.93 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/49.27, allocations: 2.75 kB / 11.93 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02619/49.29, allocations: 8.523 MB / 11.94 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003244/49.29, allocations: 57.31 kB / 11.94 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00448/49.3, allocations: 1.469 MB / 11.94 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007642/49.3, allocations: 1.381 MB / 11.94 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02746/49.33, allocations: 12.55 MB / 11.96 GB, free: 25.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01663/49.35, allocations: 0.7183 MB / 11.96 GB, free: 24.99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/49.35, allocations: 374.5 kB / 11.96 GB, free: 24.99 MB / 0.9948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (640): * Single equations (assignments): 625 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.00459/49.36, allocations: 315.7 kB / 11.96 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006082/49.36, allocations: 1.15 MB / 11.96 GB, free: 24.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/49.38, allocations: 7.631 MB / 11.97 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/49.38, allocations: 41.88 kB / 11.97 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.858e-05/49.38, allocations: 8.328 kB / 11.97 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01132/49.4, allocations: 5.74 MB / 11.97 GB, free: 23.36 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.05/49.45, allocations: 16.25 MB / 11.99 GB, free: 21.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/49.45, allocations: 0 / 11.99 GB, free: 21.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004472/49.45, allocations: 0.599 MB / 11.99 GB, free: 21.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/49.45, allocations: 1.127 MB / 11.99 GB, free: 21.87 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/49.45, allocations: 57.56 kB / 11.99 GB, free: 21.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007485/49.46, allocations: 8.108 MB / 12 GB, free: 16.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/49.46, allocations: 0 / 12 GB, free: 16.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/49.49, allocations: 10.5 MB / 12.01 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009883/49.5, allocations: 2.188 MB / 12.01 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005746/49.5, allocations: 7.438 kB / 12.01 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01289/49.51, allocations: 0.6151 MB / 12.01 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001326/49.52, allocations: 233.3 kB / 12.01 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001232/49.52, allocations: 166.7 kB / 12.01 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0233/49.54, allocations: 8.569 MB / 12.02 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.634e-06/49.54, allocations: 2.031 kB / 12.02 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04024/49.58, allocations: 5.202 MB / 12.02 GB, free: 13.63 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (274): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009379/49.59, allocations: 4.729 MB / 12.03 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02571/49.62, allocations: 11.95 MB / 12.04 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/49.62, allocations: 3.094 kB / 12.04 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005329/49.62, allocations: 2.667 MB / 12.04 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03589/49.66, allocations: 5.75 MB / 12.05 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04956/49.71, allocations: 16.69 MB / 12.06 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/49.72, allocations: 6.746 MB / 12.07 GB, free: 13.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03528/49.76, allocations: 5.879 MB / 12.08 GB, free: 9.902 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003585/49.76, allocations: 0.5659 MB / 12.08 GB, free: 9.391 MB / 1.01 GB Notification: Performance of SimCode: time 1.884e-06/49.76, allocations: 4 kB / 12.08 GB, free: 9.387 MB / 1.01 GB Notification: Performance of Templates: time 2.358/52.12, allocations: 233.3 MB / 12.31 GB, free: 104.8 MB / 1.011 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)