Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.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.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages") translateModel(IDEAS.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 168.8 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.8219/0.8219, allocations: 130.7 MB / 138.7 MB, free: 3.656 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.443/1.443, allocations: 221.5 MB / 391.8 MB, free: 14.15 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.0009204/0.0009207, allocations: 95.25 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.535e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4877, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8901/1.378, allocations: 406.3 MB / 1.025 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.378, allocations: 91.2 kB / 1.025 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.99/11.37, allocations: 2.36 GB / 3.385 GB, free: 57.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.156e-06/11.37, allocations: 0 / 3.385 GB, free: 57.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.00127/11.37, allocations: 111.1 kB / 3.385 GB, free: 57.72 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01742/11.39, allocations: 4.039 MB / 3.389 GB, free: 53.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/11.39, allocations: 12.03 kB / 3.389 GB, free: 53.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009038/11.4, allocations: 1.192 MB / 3.39 GB, free: 52.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07947/11.48, allocations: 31.53 MB / 3.421 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/11.48, allocations: 72 kB / 3.421 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/11.48, allocations: 144 kB / 3.421 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007401/11.49, allocations: 2.245 MB / 3.423 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008125/11.49, allocations: 2.499 MB / 3.426 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.85e-05/11.49, allocations: 3.797 kB / 3.426 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/11.49, allocations: 8.688 kB / 3.426 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/11.49, allocations: 52 kB / 3.426 GB, free: 15.68 MB / 0.7292 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.02263/11.52, allocations: 12.81 MB / 3.438 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/11.52, allocations: 2.164 MB / 3.44 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/11.52, allocations: 0.9245 MB / 3.441 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/11.53, allocations: 5.168 MB / 3.446 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/11.53, allocations: 1.105 MB / 3.447 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002643/11.54, allocations: 166.5 kB / 3.448 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 6.011e-06/11.54, allocations: 0 / 3.448 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.008689/11.55, allocations: 2.766 MB / 3.45 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/11.55, allocations: 115.6 kB / 3.45 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/11.56, allocations: 4.751 MB / 3.455 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000945/11.56, allocations: 33.64 kB / 3.455 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.7378/12.3, allocations: 2.151 MB / 3.457 GB, free: 83.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/12.3, allocations: 308.1 kB / 3.457 GB, free: 83.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/12.3, allocations: 0.9062 kB / 3.457 GB, free: 83.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002846/12.3, allocations: 386.8 kB / 3.458 GB, free: 82.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/12.3, allocations: 1.04 MB / 3.459 GB, free: 82.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/12.3, allocations: 2.084 MB / 3.461 GB, free: 81.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004816/12.31, allocations: 1.469 MB / 3.462 GB, free: 81.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/12.31, allocations: 10.12 kB / 3.462 GB, free: 81.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01096/12.32, allocations: 3.597 MB / 3.466 GB, free: 81.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003225/12.32, allocations: 13.6 MB / 3.479 GB, free: 66.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.858e-05/12.32, allocations: 27.91 kB / 3.479 GB, free: 66.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008523/12.32, allocations: 340.6 kB / 3.479 GB, free: 66.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/12.33, allocations: 0.5419 MB / 3.48 GB, free: 66.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/12.33, allocations: 6.02 MB / 3.486 GB, free: 62.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/12.34, allocations: 154.4 kB / 3.486 GB, free: 62.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007394/12.34, allocations: 211.8 kB / 3.486 GB, free: 62.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/12.34, allocations: 7.594 kB / 3.486 GB, free: 62.17 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007593/12.35, allocations: 2.68 MB / 3.489 GB, free: 62.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/12.35, allocations: 33.5 kB / 3.489 GB, free: 62.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/12.35, allocations: 335.7 kB / 3.489 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/12.35, allocations: 0.5883 MB / 3.49 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/12.35, allocations: 2.572 MB / 3.492 GB, free: 59.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/12.35, allocations: 138.2 kB / 3.492 GB, free: 59.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/12.36, allocations: 208.6 kB / 3.493 GB, free: 59.99 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.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: pump_dp.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: pump_y.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: pump_m_flow.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: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001204/12.36, allocations: 200.7 kB / 3.493 GB, free: 59.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/12.36, allocations: 411.8 kB / 3.493 GB, free: 59.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007877/12.37, allocations: 2.575 MB / 3.496 GB, free: 59.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/12.37, allocations: 21.78 kB / 3.496 GB, free: 59.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/12.37, allocations: 0 / 3.496 GB, free: 59.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/12.37, allocations: 7.891 kB / 3.496 GB, free: 59.47 MB / 0.7448 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.01821/12.38, allocations: 5.728 MB / 3.501 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/12.38, allocations: 1.094 kB / 3.501 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/12.39, allocations: 218.5 kB / 3.502 GB, free: 59.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009281/12.39, allocations: 361.5 kB / 3.502 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/12.39, allocations: 37.7 kB / 3.502 GB, free: 58.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/12.39, allocations: 4.979 MB / 3.507 GB, free: 54.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/12.39, allocations: 1.406 kB / 3.507 GB, free: 54.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006427/12.4, allocations: 2.433 MB / 3.509 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003345/12.4, allocations: 0.9225 MB / 3.51 GB, free: 53.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/12.4, allocations: 1.281 kB / 3.51 GB, free: 53.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/12.41, allocations: 147.3 kB / 3.51 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/12.41, allocations: 88.41 kB / 3.51 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/12.41, allocations: 80.11 kB / 3.51 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00956/12.42, allocations: 3.544 MB / 3.514 GB, free: 53.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.92e-07/12.42, allocations: 1.031 kB / 3.514 GB, free: 53.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0109/12.43, allocations: 1.932 MB / 3.516 GB, free: 53.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005536/12.43, allocations: 2.269 MB / 3.518 GB, free: 52.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009143/12.44, allocations: 3.982 MB / 3.522 GB, free: 52.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/12.44, allocations: 0 / 3.522 GB, free: 52.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/12.44, allocations: 0.8244 MB / 3.523 GB, free: 52.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01144/12.45, allocations: 1.958 MB / 3.525 GB, free: 52.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/12.47, allocations: 5.591 MB / 3.53 GB, free: 51.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004946/12.48, allocations: 2.716 MB / 3.533 GB, free: 50.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01215/12.49, allocations: 2.151 MB / 3.535 GB, free: 50.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000936/12.49, allocations: 232 kB / 3.535 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/12.49, allocations: 0.5938 kB / 3.535 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.1801/12.67, allocations: 96.89 MB / 3.63 GB, free: 44.58 MB / 0.7448 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)