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.8087/0.8087, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.0009795/0.0009794, allocations: 176.8 kB / 182.2 MB, free: 9.438 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.457/1.457, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009174/0.0009174, allocations: 85.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 275.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.965e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4105, allocations: 82.77 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8112/1.222, allocations: 399.8 MB / 1.148 GB, free: 14.37 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.222, allocations: 90.25 kB / 1.148 GB, free: 14.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.423/6.645, allocations: 1.459 GB / 2.607 GB, free: 82.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/6.645, allocations: 3 kB / 2.607 GB, free: 82.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006093/6.646, allocations: 102 kB / 2.607 GB, free: 81.99 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.01142/6.657, allocations: 3.705 MB / 2.61 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/6.657, allocations: 11.56 kB / 2.61 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006995/6.664, allocations: 1.122 MB / 2.612 GB, free: 80.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05814/6.723, allocations: 28.79 MB / 2.64 GB, free: 78.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/6.723, allocations: 72.59 kB / 2.64 GB, free: 78.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008588/6.724, allocations: 147.7 kB / 2.64 GB, free: 78.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003627/6.727, allocations: 1.884 MB / 2.642 GB, free: 78.42 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/6.731, allocations: 2.271 MB / 2.644 GB, free: 78.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/6.731, allocations: 0.8438 kB / 2.644 GB, free: 78.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/6.731, allocations: 5.969 kB / 2.644 GB, free: 78.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/6.731, allocations: 51.59 kB / 2.644 GB, free: 78.07 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 preOpt removeSimpleEquations (simulation): time 0.01836/6.75, allocations: 11.89 MB / 2.656 GB, free: 72.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/6.752, allocations: 2.005 MB / 2.658 GB, free: 72.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009386/6.753, allocations: 0.8168 MB / 2.658 GB, free: 72.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008584/6.762, allocations: 4.065 MB / 2.662 GB, free: 70.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/6.762, allocations: 51.53 kB / 2.662 GB, free: 70.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001977/6.764, allocations: 166.7 kB / 2.662 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=119): time 4.729e-06/6.764, allocations: 0 / 2.662 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119): time 0.007996/6.772, allocations: 2.712 MB / 2.665 GB, free: 69.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/6.772, allocations: 63.78 kB / 2.665 GB, free: 69.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/6.777, allocations: 2.594 MB / 2.668 GB, free: 69.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005819/6.777, allocations: 29.55 kB / 2.668 GB, free: 69.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/6.779, allocations: 1.763 MB / 2.669 GB, free: 68.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/6.779, allocations: 404.1 kB / 2.67 GB, free: 68.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/6.779, allocations: 1.594 kB / 2.67 GB, free: 68.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001215/6.78, allocations: 383.4 kB / 2.67 GB, free: 68.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/6.781, allocations: 0.8183 MB / 2.671 GB, free: 68.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/6.782, allocations: 1.601 MB / 2.673 GB, free: 67.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/6.786, allocations: 1.223 MB / 2.674 GB, free: 67.4 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/6.786, allocations: 3.375 kB / 2.674 GB, free: 67.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007991/6.794, allocations: 3.256 MB / 2.677 GB, free: 67.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0017/6.796, allocations: 8.076 MB / 2.685 GB, free: 58.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/6.796, allocations: 18.22 kB / 2.685 GB, free: 58.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/6.798, allocations: 0.8491 MB / 2.686 GB, free: 58.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/6.8, allocations: 395 kB / 2.686 GB, free: 58.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/6.804, allocations: 5.831 MB / 2.692 GB, free: 54.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/6.808, allocations: 184.3 kB / 2.692 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006456/6.808, allocations: 178.5 kB / 2.692 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/6.808, allocations: 7.828 kB / 2.692 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00729/6.816, allocations: 2.732 MB / 2.695 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.291e-05/6.816, allocations: 20.09 kB / 2.695 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/6.818, allocations: 0.9963 MB / 2.696 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/6.82, allocations: 370.3 kB / 2.696 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/6.836, allocations: 13.67 MB / 2.709 GB, free: 46.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/6.84, allocations: 181 kB / 2.71 GB, free: 46.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005409/6.841, allocations: 152.5 kB / 2.71 GB, free: 46.37 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: pum.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0008348/6.841, allocations: 170.4 kB / 2.71 GB, free: 46.25 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006795/6.848, allocations: 2.184 MB / 2.712 GB, free: 45.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/6.849, allocations: 342.3 kB / 2.712 GB, free: 45.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007882/6.857, allocations: 2.808 MB / 2.715 GB, free: 45.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/6.857, allocations: 22.02 kB / 2.715 GB, free: 45.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/6.857, allocations: 0 / 2.715 GB, free: 45.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/6.857, allocations: 11.03 kB / 2.715 GB, free: 45.5 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.01605/6.873, allocations: 4.687 MB / 2.72 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/6.873, allocations: 3.938 kB / 2.72 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/6.875, allocations: 211.4 kB / 2.72 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/6.876, allocations: 0.513 MB / 2.72 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/6.876, allocations: 34.36 kB / 2.721 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/6.879, allocations: 5.054 MB / 2.725 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/6.879, allocations: 3.812 kB / 2.725 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/6.885, allocations: 2.513 MB / 2.728 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/6.888, allocations: 0.598 MB / 2.729 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/6.889, allocations: 0 / 2.729 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/6.892, allocations: 193 kB / 2.729 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/6.892, allocations: 95.12 kB / 2.729 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/6.892, allocations: 81.05 kB / 2.729 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00583/6.898, allocations: 1.934 MB / 2.731 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.964e-06/6.898, allocations: 0 / 2.731 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01056/6.909, allocations: 1.951 MB / 2.733 GB, free: 39.35 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 () * 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.01076/6.92, allocations: 5.255 MB / 2.738 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007632/6.927, allocations: 3.88 MB / 2.742 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/6.927, allocations: 0 / 2.742 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/6.929, allocations: 0.816 MB / 2.742 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009044/6.938, allocations: 1.581 MB / 2.744 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/6.953, allocations: 5.312 MB / 2.749 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/6.956, allocations: 2.331 MB / 2.751 GB, free: 34.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0075/6.963, allocations: 1.26 MB / 2.753 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002412/6.966, allocations: 1.554 MB / 2.754 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/6.966, allocations: 3.938 kB / 2.754 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7504/7.716, allocations: 118.1 MB / 2.869 GB, free: 110 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/7.716, allocations: 189.5 kB / 2.87 GB, free: 109.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.454/14.17, allocations: 0 / 2.87 GB, free: 109.9 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)