Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 95.72 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004008, allocations: 6.188 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.07505/0.3192, allocations: 88.44 MB / 0.9865 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.05527/0.3746, allocations: 32.11 MB / 1.018 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008717/0.3833, allocations: 138.9 kB / 1.018 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.009057/0.3925, allocations: 1.955 MB / 1.02 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.02127/0.4138, allocations: 5.036 MB / 1.025 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02017/0.434, allocations: 5.664 MB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01534/0.4493, allocations: 5.78 MB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/0.4554, allocations: 2.669 MB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008537/0.464, allocations: 2.9 MB / 1.041 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.4696, allocations: 1.999 MB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.4709, allocations: 164 kB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/0.4775, allocations: 1.701 MB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.479, allocations: 0.9654 MB / 1.046 GB, free: 9.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.481, allocations: 0.851 MB / 1.047 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4914, allocations: 5.385 MB / 1.052 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4915, allocations: 0 / 1.052 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.518e-06/0.4915, allocations: 0 / 1.052 GB, free: 3.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000294/0.4918, allocations: 0 / 1.052 GB, free: 3.734 MB / 0.698 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.5877/1.079, allocations: 4.315 MB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.08, allocations: 9.75 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001397/1.081, allocations: 291.9 kB / 1.057 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/1.088, allocations: 1.274 MB / 1.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.1, allocations: 4.129 MB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/1.101, allocations: 184.4 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/1.102, allocations: 235.2 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/1.109, allocations: 2.679 MB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/1.109, allocations: 6.609 kB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/1.109, allocations: 85.78 kB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/1.109, allocations: 51.84 kB / 1.065 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00644/1.116, allocations: 1.933 MB / 1.067 GB, free: 144.2 MB / 0.698 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.02592/1.142, allocations: 12.3 MB / 1.079 GB, free: 136.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/1.146, allocations: 1.51 MB / 1.081 GB, free: 135.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008178/1.154, allocations: 4.061 MB / 1.085 GB, free: 132.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.154, allocations: 48.27 kB / 1.085 GB, free: 132.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001765/1.156, allocations: 208.3 kB / 1.085 GB, free: 132.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=111): time 5.731e-06/1.156, allocations: 0 / 1.085 GB, free: 132.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.009501/1.165, allocations: 3.041 MB / 1.088 GB, free: 130.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.166, allocations: 72.08 kB / 1.088 GB, free: 130.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004582/1.17, allocations: 3.38 MB / 1.091 GB, free: 128.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003401/1.171, allocations: 61.58 kB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.172, allocations: 1.772 MB / 1.093 GB, free: 127 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/1.172, allocations: 392.5 kB / 1.093 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/1.172, allocations: 27.97 kB / 1.093 GB, free: 126.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.172, allocations: 381.6 kB / 1.094 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/1.174, allocations: 0.8153 MB / 1.094 GB, free: 125.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/1.177, allocations: 1.518 MB / 1.096 GB, free: 124.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/1.179, allocations: 0.9771 MB / 1.097 GB, free: 124.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/1.18, allocations: 3.969 kB / 1.097 GB, free: 124.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006057/1.186, allocations: 2.854 MB / 1.1 GB, free: 122.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00141/1.187, allocations: 8.126 MB / 1.108 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.187, allocations: 23.47 kB / 1.108 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/1.188, allocations: 404.5 kB / 1.108 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.19, allocations: 430.3 kB / 1.108 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/1.192, allocations: 2.746 MB / 1.111 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/1.195, allocations: 213.3 kB / 1.111 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/1.196, allocations: 171.3 kB / 1.111 GB, free: 111.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.196, allocations: 3.188 kB / 1.111 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005423/1.201, allocations: 3.062 MB / 1.114 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.201, allocations: 20 kB / 1.114 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/1.203, allocations: 0.8461 MB / 1.115 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/1.205, allocations: 415.2 kB / 1.116 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/1.219, allocations: 12.87 MB / 1.128 GB, free: 93.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.223, allocations: 200.7 kB / 1.128 GB, free: 93.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/1.223, allocations: 132 kB / 1.129 GB, free: 93.21 MB / 0.698 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 (203): * Single equations (assignments): 195 * 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: 4 * Mixed (continuous/discrete) equation systems: 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.002137/1.225, allocations: 0.8722 MB / 1.129 GB, free: 92.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/1.226, allocations: 359.3 kB / 1.13 GB, free: 91.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/1.231, allocations: 2.681 MB / 1.132 GB, free: 89.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/1.231, allocations: 12 kB / 1.132 GB, free: 89.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.231, allocations: 3.953 kB / 1.132 GB, free: 89.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.231, allocations: 11.91 kB / 1.132 GB, free: 89.25 MB / 0.698 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.009461/1.241, allocations: 5.043 MB / 1.137 GB, free: 84.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.241, allocations: 0 / 1.137 GB, free: 84.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.242, allocations: 251.7 kB / 1.138 GB, free: 83.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/1.243, allocations: 392.2 kB / 1.138 GB, free: 83.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/1.243, allocations: 43.95 kB / 1.138 GB, free: 83.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.244, allocations: 2.624 MB / 1.141 GB, free: 80.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.244, allocations: 4 kB / 1.141 GB, free: 80.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/1.249, allocations: 2.507 MB / 1.143 GB, free: 78.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.251, allocations: 0.6054 MB / 1.144 GB, free: 77.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/1.252, allocations: 24 kB / 1.144 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.254, allocations: 203.5 kB / 1.144 GB, free: 77.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.254, allocations: 89.17 kB / 1.144 GB, free: 77.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.254, allocations: 75.94 kB / 1.144 GB, free: 77.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003706/1.258, allocations: 2.254 MB / 1.146 GB, free: 74.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.258, allocations: 4 kB / 1.146 GB, free: 74.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007628/1.265, allocations: 1.794 MB / 1.148 GB, free: 73.08 MB / 0.698 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 (117): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00634/1.272, allocations: 3.678 MB / 1.152 GB, free: 69.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009758/1.281, allocations: 3.998 MB / 1.155 GB, free: 65.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.282, allocations: 0 / 1.155 GB, free: 65.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/1.284, allocations: 0.8809 MB / 1.156 GB, free: 64.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008895/1.293, allocations: 1.704 MB / 1.158 GB, free: 62.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.311, allocations: 20.95 MB / 1.178 GB, free: 41.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.313, allocations: 2.315 MB / 1.181 GB, free: 39.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004517/1.318, allocations: 0.8845 MB / 1.182 GB, free: 38.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.32, allocations: 1.632 MB / 1.183 GB, free: 36.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.32, allocations: 0 / 1.183 GB, free: 36.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/1.511, allocations: 108.7 MB / 1.289 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.511, allocations: 269 kB / 1.29 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.676/7.188, allocations: 5.406 kB / 1.29 GB, free: 8.312 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)