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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01191/0.01191, allocations: 170.1 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-master/package.mo): time 0.7803/0.7803, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.001045/0.001045, allocations: 95.66 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004167, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.532, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.493/2.025, allocations: 407.2 MB / 1.047 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/2.025, allocations: 98.94 kB / 1.047 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.371/10.4, allocations: 2.381 GB / 3.429 GB, free: 69.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.765e-06/10.4, allocations: 3.938 kB / 3.429 GB, free: 69.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009273/10.4, allocations: 108 kB / 3.429 GB, free: 69.49 MB / 0.7448 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.0262/10.42, allocations: 7.85 MB / 3.436 GB, free: 61.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/10.42, allocations: 8.031 kB / 3.436 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001385/10.43, allocations: 291.1 kB / 3.437 GB, free: 61.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/10.43, allocations: 1.188 MB / 3.438 GB, free: 60.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06807/10.5, allocations: 31.8 MB / 3.469 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/10.5, allocations: 184.1 kB / 3.469 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008367/10.5, allocations: 240 kB / 3.469 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/10.51, allocations: 2.909 MB / 3.472 GB, free: 24.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/10.51, allocations: 7.703 kB / 3.472 GB, free: 24.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/10.51, allocations: 88 kB / 3.472 GB, free: 24.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/10.51, allocations: 48 kB / 3.472 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/10.51, allocations: 2.115 MB / 3.474 GB, free: 22.38 MB / 0.7448 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.02504/10.54, allocations: 13.27 MB / 3.487 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/10.54, allocations: 1.632 MB / 3.489 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009704/10.55, allocations: 5.252 MB / 3.494 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002128/10.55, allocations: 1.227 MB / 3.495 GB, free: 136 kB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002481/10.56, allocations: 222.3 kB / 3.495 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 5.41e-06/10.56, allocations: 0 / 3.495 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.01224/10.57, allocations: 3.449 MB / 3.499 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/10.57, allocations: 111.8 kB / 3.499 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01383/10.58, allocations: 5.291 MB / 3.504 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000783/10.58, allocations: 61.7 kB / 3.504 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/10.59, allocations: 2.153 MB / 3.506 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/10.59, allocations: 319.4 kB / 3.507 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/10.59, allocations: 36 kB / 3.507 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003081/10.59, allocations: 394 kB / 3.507 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/10.59, allocations: 0.8628 MB / 3.508 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003507/10.6, allocations: 1.937 MB / 3.51 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6277/11.22, allocations: 1.066 MB / 3.511 GB, free: 82.97 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-05/11.22, allocations: 9.625 kB / 3.511 GB, free: 82.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009397/11.23, allocations: 3.207 MB / 3.514 GB, free: 82.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.003024/11.24, allocations: 13.78 MB / 3.527 GB, free: 68.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-05/11.24, allocations: 28.25 kB / 3.527 GB, free: 68.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/11.24, allocations: 397.2 kB / 3.528 GB, free: 68.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/11.24, allocations: 0.5395 MB / 3.528 GB, free: 68.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/11.24, allocations: 5.263 MB / 3.533 GB, free: 63.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004728/11.25, allocations: 191.2 kB / 3.534 GB, free: 63.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006058/11.25, allocations: 227.1 kB / 3.534 GB, free: 63.98 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/11.25, allocations: 4.375 kB / 3.534 GB, free: 63.98 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005684/11.26, allocations: 2.895 MB / 3.537 GB, free: 63.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/11.26, allocations: 29.91 kB / 3.537 GB, free: 63.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/11.26, allocations: 392.4 kB / 3.537 GB, free: 63.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/11.26, allocations: 0.5894 MB / 3.538 GB, free: 63.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/11.26, allocations: 2.577 MB / 3.54 GB, free: 61.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/11.27, allocations: 177.8 kB / 3.54 GB, free: 61.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/11.27, allocations: 212.5 kB / 3.541 GB, free: 61.82 MB / 0.7605 GB 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 () * Number of clocked 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.00422/11.27, allocations: 1.181 MB / 3.542 GB, free: 61.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/11.27, allocations: 431.8 kB / 3.542 GB, free: 61.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/11.28, allocations: 2.765 MB / 3.545 GB, free: 61.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/11.28, allocations: 15.31 kB / 3.545 GB, free: 61.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/11.28, allocations: 0 / 3.545 GB, free: 61.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/11.28, allocations: 8.594 kB / 3.545 GB, free: 61.4 MB / 0.7605 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.0149/11.29, allocations: 6.144 MB / 3.551 GB, free: 60.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/11.29, allocations: 3.438 kB / 3.551 GB, free: 60.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/11.29, allocations: 219.6 kB / 3.551 GB, free: 60.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/11.3, allocations: 417.6 kB / 3.551 GB, free: 60.87 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/11.3, allocations: 49.39 kB / 3.551 GB, free: 60.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/11.3, allocations: 4.959 MB / 3.556 GB, free: 56.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/11.3, allocations: 0 / 3.556 GB, free: 56.58 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007704/11.31, allocations: 2.614 MB / 3.559 GB, free: 55.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/11.31, allocations: 0.9508 MB / 3.56 GB, free: 55.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/11.31, allocations: 31.28 kB / 3.56 GB, free: 55.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/11.31, allocations: 163 kB / 3.56 GB, free: 55.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/11.31, allocations: 85.58 kB / 3.56 GB, free: 55.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/11.31, allocations: 77.06 kB / 3.56 GB, free: 55.58 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006219/11.32, allocations: 4.027 MB / 3.564 GB, free: 55.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.31e-07/11.32, allocations: 0 / 3.564 GB, free: 55.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006766/11.33, allocations: 1.995 MB / 3.566 GB, free: 55.33 MB / 0.7605 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) * Number of clocked states: 0 () * 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.01097/11.34, allocations: 5.608 MB / 3.571 GB, free: 53.6 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00906/11.35, allocations: 3.857 MB / 3.575 GB, free: 53.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/11.35, allocations: 0 / 3.575 GB, free: 53.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/11.35, allocations: 0.9422 MB / 3.576 GB, free: 53.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/11.36, allocations: 2.163 MB / 3.578 GB, free: 53.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/11.39, allocations: 30.85 MB / 3.608 GB, free: 44.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/11.4, allocations: 2.705 MB / 3.611 GB, free: 43.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006957/11.4, allocations: 1.223 MB / 3.612 GB, free: 43.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003244/11.41, allocations: 1.941 MB / 3.614 GB, free: 43.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.262e-06/11.41, allocations: 3.062 kB / 3.614 GB, free: 43.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2404/11.65, allocations: 149.7 MB / 3.76 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/11.65, allocations: 221.1 kB / 3.761 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/20.12, allocations: 8 kB / 3.761 GB, free: 8.625 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)