Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8472/0.8472, allocations: 143.3 MB / 158.3 MB, free: 5.824 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 173.1 kB / 191.5 MB, free: 5.781 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.0009592/0.0009591, allocations: 91.83 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 278.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004494, allocations: 14.97 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.42, allocations: 400.5 MB / 1.165 GB, free: 265.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.42, allocations: 97.38 kB / 1.165 GB, free: 265.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.853/7.274, allocations: 1.472 GB / 2.637 GB, free: 73.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.815e-06/7.274, allocations: 0 / 2.637 GB, free: 73.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001703/7.276, allocations: 102.5 kB / 2.637 GB, free: 73.37 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.02917/7.305, allocations: 5.687 MB / 2.642 GB, free: 71.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/7.305, allocations: 8.562 kB / 2.642 GB, free: 71.2 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001988/7.307, allocations: 289 kB / 2.643 GB, free: 71.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008673/7.316, allocations: 1.124 MB / 2.644 GB, free: 70.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07743/7.393, allocations: 29.01 MB / 2.672 GB, free: 69.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/7.394, allocations: 182.1 kB / 2.672 GB, free: 69.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/7.395, allocations: 246 kB / 2.673 GB, free: 69.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/7.406, allocations: 2.684 MB / 2.675 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/7.406, allocations: 7.438 kB / 2.675 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/7.407, allocations: 94.45 kB / 2.675 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/7.407, allocations: 49.91 kB / 2.675 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007749/7.415, allocations: 1.984 MB / 2.677 GB, free: 68.83 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.02697/7.442, allocations: 12.32 MB / 2.689 GB, free: 62.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/7.446, allocations: 1.643 MB / 2.691 GB, free: 62.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/7.457, allocations: 4.131 MB / 2.695 GB, free: 60.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/7.457, allocations: 48.94 kB / 2.695 GB, free: 60.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003036/7.46, allocations: 223.2 kB / 2.695 GB, free: 60.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=119): time 1.524e-05/7.46, allocations: 0.7812 kB / 2.695 GB, free: 60.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119): time 0.01451/7.475, allocations: 4.005 MB / 2.699 GB, free: 59.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/7.475, allocations: 63.56 kB / 2.699 GB, free: 59.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/7.486, allocations: 2.976 MB / 2.702 GB, free: 59.37 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/7.487, allocations: 61.48 kB / 2.702 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003295/7.49, allocations: 1.775 MB / 2.704 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/7.491, allocations: 410.7 kB / 2.704 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/7.492, allocations: 34.64 kB / 2.704 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002725/7.492, allocations: 387.6 kB / 2.705 GB, free: 58.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/7.494, allocations: 0.7578 MB / 2.705 GB, free: 58.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/7.497, allocations: 1.567 MB / 2.707 GB, free: 57.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/7.5, allocations: 0.9397 MB / 2.708 GB, free: 57.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.289e-05/7.5, allocations: 8.781 kB / 2.708 GB, free: 57.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008658/7.509, allocations: 2.909 MB / 2.711 GB, free: 57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002336/7.511, allocations: 8.152 MB / 2.719 GB, free: 48.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.603e-05/7.511, allocations: 16.06 kB / 2.719 GB, free: 48.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/7.514, allocations: 0.6767 MB / 2.719 GB, free: 48.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/7.515, allocations: 389.9 kB / 2.72 GB, free: 48.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/7.519, allocations: 5.154 MB / 2.725 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/7.524, allocations: 228.4 kB / 2.725 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005584/7.524, allocations: 175.1 kB / 2.725 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/7.525, allocations: 7.219 kB / 2.725 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007758/7.532, allocations: 2.947 MB / 2.728 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.133e-05/7.532, allocations: 17.5 kB / 2.728 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/7.536, allocations: 1.084 MB / 2.729 GB, free: 44.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/7.538, allocations: 368.1 kB / 2.729 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/7.558, allocations: 14.45 MB / 2.744 GB, free: 35.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/7.563, allocations: 221 kB / 2.744 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008157/7.564, allocations: 154.9 kB / 2.744 GB, free: 35.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.00376/7.567, allocations: 0.863 MB / 2.745 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/7.569, allocations: 361.7 kB / 2.745 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/7.58, allocations: 3.078 MB / 2.748 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/7.58, allocations: 15.69 kB / 2.748 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/7.58, allocations: 0 / 2.748 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/7.58, allocations: 7.406 kB / 2.748 GB, free: 34.96 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 postOpt removeSimpleEquations (simulation): time 0.01697/7.597, allocations: 5.178 MB / 2.753 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/7.597, allocations: 3.031 kB / 2.753 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/7.599, allocations: 215.5 kB / 2.753 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/7.601, allocations: 0.6636 MB / 2.754 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/7.601, allocations: 53.09 kB / 2.754 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003697/7.604, allocations: 5.03 MB / 2.759 GB, free: 30.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/7.605, allocations: 3 kB / 2.759 GB, free: 30.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007613/7.612, allocations: 2.799 MB / 2.762 GB, free: 29.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/7.615, allocations: 0.6213 MB / 2.762 GB, free: 29.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/7.617, allocations: 23.47 kB / 2.762 GB, free: 29.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003521/7.62, allocations: 205.2 kB / 2.763 GB, free: 29.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/7.621, allocations: 105.8 kB / 2.763 GB, free: 29.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/7.621, allocations: 75.67 kB / 2.763 GB, free: 29.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.006716/7.628, allocations: 2.286 MB / 2.765 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.024e-06/7.628, allocations: 2.25 kB / 2.765 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01306/7.641, allocations: 2.034 MB / 2.767 GB, free: 27.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/7.657, allocations: 5.615 MB / 2.772 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01048/7.667, allocations: 3.964 MB / 2.776 GB, free: 23.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/7.667, allocations: 0 / 2.776 GB, free: 23.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/7.67, allocations: 0.9607 MB / 2.777 GB, free: 23.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009442/7.679, allocations: 1.698 MB / 2.779 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/7.709, allocations: 21.13 MB / 2.8 GB, free: 21.06 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004289/7.713, allocations: 2.328 MB / 2.802 GB, free: 19.66 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005077/7.718, allocations: 0.8264 MB / 2.803 GB, free: 19.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/7.721, allocations: 1.626 MB / 2.804 GB, free: 17.61 MB / 0.7605 GB Notification: Performance of SimCode: time 1.162e-06/7.721, allocations: 0 / 2.804 GB, free: 17.61 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9153/8.636, allocations: 129.5 MB / 2.931 GB, free: 93.43 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/8.637, allocations: 272.3 kB / 2.931 GB, free: 93.07 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/16.17, allocations: 0 / 2.931 GB, free: 93.07 MB / 0.7761 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)