Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries",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.001487/0.001487, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7372/0.7372, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.586/1.586, allocations: 221.3 MB / 400.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 94.34 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.176e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1756, allocations: 82.31 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.491, allocations: 396.9 MB / 1.028 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.492, allocations: 89.14 kB / 1.028 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.361/3.852, allocations: 0.6891 GB / 1.717 GB, free: 32.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/3.852, allocations: 192 / 1.717 GB, free: 32.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003563/3.853, allocations: 55.7 kB / 1.717 GB, free: 32.07 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005187/3.858, allocations: 1.877 MB / 1.719 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/3.858, allocations: 8.031 kB / 1.719 GB, free: 30.15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/3.858, allocations: 152.2 kB / 1.719 GB, free: 29.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/3.862, allocations: 0.5415 MB / 1.72 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02999/3.892, allocations: 14.24 MB / 1.734 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/3.892, allocations: 87.17 kB / 1.734 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005248/3.892, allocations: 112 kB / 1.734 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/3.895, allocations: 1.189 MB / 1.735 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/3.896, allocations: 4 kB / 1.735 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/3.896, allocations: 36 kB / 1.735 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/3.896, allocations: 38.34 kB / 1.735 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/3.898, allocations: 0.8628 MB / 1.736 GB, free: 12.95 MB / 0.6823 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.009773/3.907, allocations: 5.712 MB / 1.742 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/3.909, allocations: 0.7426 MB / 1.742 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/3.909, allocations: 338.4 kB / 1.743 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00417/3.913, allocations: 2.348 MB / 1.745 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/3.913, allocations: 55.03 kB / 1.745 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008682/3.914, allocations: 123.2 kB / 1.745 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 5.37e-06/3.914, allocations: 4 kB / 1.745 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.002559/3.917, allocations: 0.9668 MB / 1.746 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/3.917, allocations: 59.97 kB / 1.746 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/3.919, allocations: 1.287 MB / 1.747 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/3.919, allocations: 45.7 kB / 1.747 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/3.92, allocations: 0.7798 MB / 1.748 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/3.92, allocations: 228.7 kB / 1.748 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/3.92, allocations: 16 kB / 1.748 GB, free: 15.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001963/3.92, allocations: 349.9 kB / 1.749 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/3.921, allocations: 305.9 kB / 1.749 GB, free: 15.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/3.922, allocations: 0.6501 MB / 1.75 GB, free: 14.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/3.923, allocations: 392 kB / 1.75 GB, free: 13.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/3.923, allocations: 4 kB / 1.75 GB, free: 13.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002423/3.925, allocations: 1.195 MB / 1.751 GB, free: 12.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001406/3.927, allocations: 3.345 MB / 1.754 GB, free: 9.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/3.927, allocations: 8 kB / 1.754 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000908/3.928, allocations: 249.6 kB / 1.755 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/3.929, allocations: 219.7 kB / 1.755 GB, free: 8.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/3.93, allocations: 1.42 MB / 1.756 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/3.932, allocations: 91.95 kB / 1.756 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/3.932, allocations: 75.89 kB / 1.756 GB, free: 6.898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/3.932, allocations: 4 kB / 1.756 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002184/3.934, allocations: 1.074 MB / 1.758 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/3.934, allocations: 8 kB / 1.758 GB, free: 5.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/3.935, allocations: 317.9 kB / 1.758 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/3.936, allocations: 203.7 kB / 1.758 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/3.942, allocations: 3.901 MB / 1.762 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/3.944, allocations: 80 kB / 1.762 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/3.944, allocations: 59.97 kB / 1.762 GB, free: 1.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003647/3.944, allocations: 168.6 kB / 1.762 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/3.945, allocations: 165.9 kB / 1.762 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5222/4.467, allocations: 1.365 MB / 1.764 GB, free: 84.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/4.467, allocations: 13.92 kB / 1.764 GB, free: 84.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/4.467, allocations: 0 / 1.764 GB, free: 84.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/4.467, allocations: 3.609 kB / 1.764 GB, free: 84.32 MB / 0.698 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.01065/4.478, allocations: 2.621 MB / 1.766 GB, free: 83.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/4.478, allocations: 2.938 kB / 1.766 GB, free: 83.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/4.479, allocations: 112.9 kB / 1.766 GB, free: 83.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/4.48, allocations: 254 kB / 1.767 GB, free: 83.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/4.48, allocations: 27.75 kB / 1.767 GB, free: 83.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/4.481, allocations: 1.345 MB / 1.768 GB, free: 82.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/4.481, allocations: 0.8438 kB / 1.768 GB, free: 82.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/4.485, allocations: 1.714 MB / 1.77 GB, free: 82.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/4.486, allocations: 344.1 kB / 1.77 GB, free: 82.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005608/4.487, allocations: 17.91 kB / 1.77 GB, free: 82.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/4.488, allocations: 84.2 kB / 1.77 GB, free: 82.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/4.488, allocations: 51.75 kB / 1.77 GB, free: 82.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/4.488, allocations: 37.73 kB / 1.77 GB, free: 82.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003364/4.492, allocations: 1.001 MB / 1.771 GB, free: 82.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.212e-06/4.492, allocations: 1.156 kB / 1.771 GB, free: 82.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006133/4.498, allocations: 1.035 MB / 1.772 GB, free: 82.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00791/4.506, allocations: 3.716 MB / 1.776 GB, free: 81.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004613/4.511, allocations: 1.658 MB / 1.777 GB, free: 80.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/4.511, allocations: 3.531 kB / 1.777 GB, free: 80.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/4.512, allocations: 440.8 kB / 1.778 GB, free: 80.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/4.516, allocations: 0.7113 MB / 1.778 GB, free: 80.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/4.524, allocations: 2.606 MB / 1.781 GB, free: 80.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/4.526, allocations: 1.402 MB / 1.782 GB, free: 79.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003684/4.529, allocations: 0.5671 MB / 1.783 GB, free: 79.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/4.53, allocations: 0.6544 MB / 1.784 GB, free: 79.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/4.53, allocations: 3.188 kB / 1.784 GB, free: 79.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/4.658, allocations: 64.06 MB / 1.846 GB, free: 77.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/4.658, allocations: 207.7 kB / 1.846 GB, free: 76.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.248/8.906, allocations: 0 / 1.846 GB, free: 76.89 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpsSeries.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)