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.371/1.371, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009707/0.0009706, allocations: 180.8 kB / 325.8 MB, free: 2.684 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.495/1.495, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007719/0.0007718, allocations: 91.3 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 12.95 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.0744/0.2436, allocations: 104.4 MB / 0.9981 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04977/0.2934, allocations: 36.92 MB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006149/0.2996, allocations: 146.9 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00584/0.3054, allocations: 1.671 MB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01353/0.319, allocations: 4.613 MB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009304/0.3284, allocations: 3.514 MB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.4212/0.7496, allocations: 12.6 MB / 1.056 GB, free: 8.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005823/0.7555, allocations: 2.867 MB / 1.059 GB, free: 8.352 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007029/0.7625, allocations: 3.314 MB / 1.062 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006099/0.7687, allocations: 2.956 MB / 1.065 GB, free: 8.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.7698, allocations: 165.7 kB / 1.065 GB, free: 8.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006579/0.7764, allocations: 2.244 MB / 1.067 GB, free: 8.328 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.7779, allocations: 1.068 MB / 1.069 GB, free: 8.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.7809, allocations: 2.049 MB / 1.071 GB, free: 7.488 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.7891, allocations: 6.97 MB / 1.077 GB, free: 6.777 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7892, allocations: 0 / 1.077 GB, free: 6.777 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7892, allocations: 0 / 1.077 GB, free: 6.777 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001249/0.7893, allocations: 7.188 kB / 1.077 GB, free: 6.773 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.007707/0.797, allocations: 4.296 MB / 1.082 GB, free: 4.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7971, allocations: 9.656 kB / 1.082 GB, free: 4.645 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003698/0.7974, allocations: 294.7 kB / 1.082 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/0.8031, allocations: 1.273 MB / 1.083 GB, free: 4.293 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008643/0.8118, allocations: 4.258 MB / 1.087 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.8119, allocations: 185.5 kB / 1.087 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.8123, allocations: 235.4 kB / 1.088 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.8167, allocations: 2.736 MB / 1.09 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.8168, allocations: 2.938 kB / 1.09 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.817, allocations: 86.16 kB / 1.09 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.817, allocations: 50.81 kB / 1.09 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004057/0.8211, allocations: 2.007 MB / 1.092 GB, free: 3.043 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.01488/0.836, allocations: 12.4 MB / 1.105 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.839, allocations: 1.607 MB / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.8405, allocations: 0.7512 MB / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006202/0.8468, allocations: 4.04 MB / 1.111 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.8468, allocations: 43.31 kB / 1.111 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/0.8482, allocations: 204.3 kB / 1.111 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 4.198e-06/0.8482, allocations: 2.812 kB / 1.111 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.009237/0.8574, allocations: 3.132 MB / 1.114 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.8575, allocations: 72.22 kB / 1.114 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004897/0.8624, allocations: 3.378 MB / 1.117 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005144/0.863, allocations: 58.52 kB / 1.117 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.8643, allocations: 1.764 MB / 1.119 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.8646, allocations: 385.5 kB / 1.12 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.8649, allocations: 182.4 kB / 1.12 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.865, allocations: 305.1 kB / 1.12 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.8672, allocations: 1.199 MB / 1.121 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.8697, allocations: 1.9 MB / 1.123 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/0.8741, allocations: 3.005 MB / 1.126 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.8742, allocations: 6.422 kB / 1.126 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006753/0.8809, allocations: 3.791 MB / 1.13 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003515/0.8813, allocations: 0.6299 MB / 1.13 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.8813, allocations: 15.5 kB / 1.13 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.883, allocations: 0.7293 MB / 1.131 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.8847, allocations: 428.5 kB / 1.131 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.8866, allocations: 2.764 MB / 1.134 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.8896, allocations: 219.5 kB / 1.134 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.8898, allocations: 150.2 kB / 1.134 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.8898, allocations: 3.312 kB / 1.135 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005735/0.8956, allocations: 3.137 MB / 1.138 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.8956, allocations: 16.12 kB / 1.138 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.8981, allocations: 0.8511 MB / 1.138 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.8995, allocations: 397.8 kB / 1.139 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/0.9136, allocations: 12.22 MB / 1.151 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.9166, allocations: 206.9 kB / 1.151 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/0.9169, allocations: 128.5 kB / 1.151 GB, free: 10.56 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001934/0.9188, allocations: 0.8683 MB / 1.152 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007051/0.9196, allocations: 363.1 kB / 1.152 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005443/0.925, allocations: 2.703 MB / 1.155 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.925, allocations: 13.94 kB / 1.155 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9251, allocations: 7.984 kB / 1.155 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.9251, allocations: 3.984 kB / 1.155 GB, free: 9.328 MB / 0.7292 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.00974/0.9348, allocations: 4.899 MB / 1.16 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.9348, allocations: 4.031 kB / 1.16 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.936, allocations: 240.2 kB / 1.16 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/0.9369, allocations: 393.4 kB / 1.16 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.937, allocations: 47.91 kB / 1.16 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.9386, allocations: 2.632 MB / 1.163 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9386, allocations: 8.281 kB / 1.163 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.9437, allocations: 2.436 MB / 1.165 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.945, allocations: 0.5859 MB / 1.166 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/0.9454, allocations: 23.98 kB / 1.166 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.9471, allocations: 191.7 kB / 1.166 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.9473, allocations: 97.12 kB / 1.166 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.9474, allocations: 67.94 kB / 1.166 GB, free: 496 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003161/0.9506, allocations: 2.26 MB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9506, allocations: 0 / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005726/0.9563, allocations: 1.773 MB / 1.17 GB, free: 12.45 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005895/0.9622, allocations: 3.36 MB / 1.173 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00815/0.9704, allocations: 4.417 MB / 1.178 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.9704, allocations: 4 kB / 1.178 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.9725, allocations: 0.9104 MB / 1.179 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009597/0.9822, allocations: 1.715 MB / 1.18 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06876/1.051, allocations: 34.57 MB / 1.214 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/1.053, allocations: 2.245 MB / 1.216 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004177/1.057, allocations: 0.8603 MB / 1.217 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.059, allocations: 1.612 MB / 1.219 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of SimCode: time 6.22e-07/1.059, allocations: 0 / 1.219 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6599/1.719, allocations: 104.1 MB / 1.32 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/1.719, allocations: 297.8 kB / 1.321 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.878/7.598, allocations: 0 / 1.321 GB, free: 1.266 MB / 0.8855 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)