Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.000929, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005227/0.0005228, allocations: 17.59 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1897, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.07847/0.2682, allocations: 88.43 MB / 0.8736 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04676/0.315, allocations: 32.13 MB / 0.905 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006646/0.3217, allocations: 134.9 kB / 0.9051 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00904/0.3307, allocations: 1.959 MB / 0.907 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.527/0.8578, allocations: 5.039 MB / 0.9119 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01675/0.8745, allocations: 5.748 MB / 0.9175 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.8879, allocations: 5.783 MB / 0.9232 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005997/0.894, allocations: 2.671 MB / 0.9258 GB, free: 28.96 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007729/0.9017, allocations: 2.941 MB / 0.9287 GB, free: 28.96 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.9071, allocations: 2.001 MB / 0.9306 GB, free: 28.95 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002517/0.9097, allocations: 168.2 kB / 0.9308 GB, free: 28.94 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00921/0.9189, allocations: 1.738 MB / 0.9325 GB, free: 28.94 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002377/0.9214, allocations: 0.9651 MB / 0.9334 GB, free: 28.94 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.924, allocations: 0.8548 MB / 0.9342 GB, free: 28.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009497/0.9335, allocations: 5.438 MB / 0.9396 GB, free: 28.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9335, allocations: 1.375 kB / 0.9396 GB, free: 28.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.796e-06/0.9335, allocations: 4 kB / 0.9396 GB, free: 28.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002221/0.9338, allocations: 0 / 0.9396 GB, free: 28.52 MB / 0.7325 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.01129/0.9451, allocations: 4.327 MB / 0.9438 GB, free: 26.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.9451, allocations: 11.03 kB / 0.9438 GB, free: 26.42 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/0.9462, allocations: 287.5 kB / 0.9441 GB, free: 26.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006775/0.953, allocations: 1.273 MB / 0.9453 GB, free: 26.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.9632, allocations: 4.134 MB / 0.9494 GB, free: 25.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.9634, allocations: 186.4 kB / 0.9495 GB, free: 25.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007358/0.9642, allocations: 236.2 kB / 0.9498 GB, free: 25.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/0.9691, allocations: 2.679 MB / 0.9524 GB, free: 25.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.9692, allocations: 3 kB / 0.9524 GB, free: 25.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.9694, allocations: 89.41 kB / 0.9525 GB, free: 25.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.9694, allocations: 50.94 kB / 0.9525 GB, free: 25.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/0.9736, allocations: 1.944 MB / 0.9544 GB, free: 24.99 MB / 0.7325 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.01788/0.9915, allocations: 12.32 MB / 0.9664 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.9948, allocations: 1.516 MB / 0.9679 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007458/1.002, allocations: 4.074 MB / 0.9719 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.002, allocations: 49.06 kB / 0.9719 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001837/1.004, allocations: 209.7 kB / 0.9721 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=111): time 5.25e-06/1.004, allocations: 0 / 0.9721 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=111): time 0.008228/1.012, allocations: 3.047 MB / 0.9751 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.013, allocations: 63.44 kB / 0.9752 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/1.017, allocations: 3.38 MB / 0.9785 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005188/1.018, allocations: 58.83 kB / 0.9785 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.019, allocations: 1.771 MB / 0.9803 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/1.019, allocations: 385.1 kB / 0.9806 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.019, allocations: 36.06 kB / 0.9807 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.02, allocations: 387.5 kB / 0.981 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/1.021, allocations: 0.8352 MB / 0.9819 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/1.023, allocations: 1.532 MB / 0.9833 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/1.025, allocations: 0.9911 MB / 0.9843 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/1.025, allocations: 5.219 kB / 0.9843 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00581/1.031, allocations: 2.881 MB / 0.9871 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.002512/1.034, allocations: 8.125 MB / 0.9951 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/1.034, allocations: 18.56 kB / 0.9951 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/1.035, allocations: 397.2 kB / 0.9955 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/1.037, allocations: 452.4 kB / 0.9959 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/1.039, allocations: 2.743 MB / 0.9986 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003616/1.043, allocations: 208.7 kB / 0.9988 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/1.043, allocations: 157.8 kB / 0.9989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.043, allocations: 10.41 kB / 0.9989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006245/1.049, allocations: 3.096 MB / 1.002 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.24e-05/1.049, allocations: 21.77 kB / 1.002 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/1.052, allocations: 0.8507 MB / 1.003 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.054, allocations: 409.9 kB / 1.003 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/1.07, allocations: 12.91 MB / 1.016 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/1.073, allocations: 195 kB / 1.016 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/1.074, allocations: 146 kB / 1.016 GB, free: 3.855 MB / 0.7481 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 (207): * Single equations (assignments): 199 * 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.001862/1.076, allocations: 0.861 MB / 1.017 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/1.076, allocations: 359.3 kB / 1.017 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/1.082, allocations: 2.671 MB / 1.02 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/1.082, allocations: 22.3 kB / 1.02 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.082, allocations: 0 / 1.02 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.082, allocations: 11.97 kB / 1.02 GB, free: 0.9336 MB / 0.7481 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.009591/1.092, allocations: 5.052 MB / 1.025 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.092, allocations: 12.06 kB / 1.025 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.093, allocations: 247.2 kB / 1.025 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/1.094, allocations: 388.9 kB / 1.026 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/1.094, allocations: 52.69 kB / 1.026 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/1.095, allocations: 2.624 MB / 1.028 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.095, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/1.101, allocations: 2.502 MB / 1.031 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.102, allocations: 0.6161 MB / 1.031 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/1.103, allocations: 30.94 kB / 1.031 GB, free: 7.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.105, allocations: 195.8 kB / 1.031 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.105, allocations: 90.61 kB / 1.031 GB, free: 7.285 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.105, allocations: 74.88 kB / 1.032 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003494/1.108, allocations: 2.254 MB / 1.034 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 0 / 1.034 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006593/1.115, allocations: 1.84 MB / 1.036 GB, free: 3.898 MB / 0.7637 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.005837/1.121, allocations: 3.7 MB / 1.039 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007634/1.129, allocations: 4.045 MB / 1.043 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.129, allocations: 0 / 1.043 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.13, allocations: 0.8833 MB / 1.044 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007547/1.138, allocations: 1.701 MB / 1.046 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.158, allocations: 20.98 MB / 1.066 GB, free: 7.164 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/1.161, allocations: 2.314 MB / 1.068 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004344/1.165, allocations: 0.9006 MB / 1.069 GB, free: 4.051 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/1.167, allocations: 1.624 MB / 1.071 GB, free: 3.66 MB / 0.795 GB Notification: Performance of SimCode: time 7.62e-07/1.167, allocations: 0 / 1.071 GB, free: 3.66 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8353/2.002, allocations: 109.3 MB / 1.178 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/2.003, allocations: 269.5 kB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.774/6.777, allocations: 0 / 1.178 GB, free: 7.738 MB / 0.9044 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) Environment - environmentSimulation: