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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 251.7 MB / 0.5092 GB, free: 3.086 MB / 414.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.00152/0.00152, allocations: 67.91 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5103, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1085/0.6188, allocations: 105.5 MB / 0.8275 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05755/0.6764, allocations: 36.48 MB / 0.8631 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007559/0.684, allocations: 166.9 kB / 0.8633 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006932/0.691, allocations: 2.007 MB / 0.8653 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01684/0.7079, allocations: 4.984 MB / 0.8701 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.7196, allocations: 3.867 MB / 0.8739 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01585/0.7355, allocations: 9.443 MB / 0.8831 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008009/0.7435, allocations: 3.503 MB / 0.8866 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.7544, allocations: 3.87 MB / 0.8903 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006433/0.7609, allocations: 3.042 MB / 0.8933 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002014/0.7629, allocations: 411.9 kB / 0.8937 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007212/0.7701, allocations: 2.523 MB / 0.8962 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.7725, allocations: 1.316 MB / 0.8974 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005626/0.7782, allocations: 2.34 MB / 0.8997 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.7902, allocations: 7.24 MB / 0.9068 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7903, allocations: 0 / 0.9068 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7903, allocations: 0 / 0.9068 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002551/0.7905, allocations: 0 / 0.9068 GB, free: 1.617 MB / 0.7169 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.4006/1.191, allocations: 5.024 MB / 0.9117 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.191, allocations: 10.05 kB / 0.9117 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/1.199, allocations: 1.168 MB / 0.9129 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/1.209, allocations: 4.118 MB / 0.9169 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/1.21, allocations: 181.8 kB / 0.9171 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00092/1.211, allocations: 237.8 kB / 0.9173 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007124/1.218, allocations: 2.729 MB / 0.9199 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/1.218, allocations: 5.531 kB / 0.92 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/1.218, allocations: 95.73 kB / 0.92 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/1.218, allocations: 51 kB / 0.9201 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/1.224, allocations: 1.947 MB / 0.922 GB, free: 169.5 MB / 0.7169 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.0168/1.24, allocations: 12.68 MB / 0.9344 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/1.244, allocations: 1.526 MB / 0.9359 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/1.245, allocations: 0.7113 MB / 0.9366 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005541/1.251, allocations: 3.972 MB / 0.9404 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.251, allocations: 49.16 kB / 0.9405 GB, free: 154 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=107): time 2.394e-06/1.251, allocations: 0 / 0.9405 GB, free: 154 MB / 0.7169 GB Notification: Performance of matching and sorting (n=107): time 0.008496/1.259, allocations: 3.021 MB / 0.9434 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.259, allocations: 68.34 kB / 0.9435 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/1.263, allocations: 3.433 MB / 0.9469 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002776/1.263, allocations: 57.7 kB / 0.9469 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009674/1.264, allocations: 1.768 MB / 0.9486 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/1.265, allocations: 370.2 kB / 0.949 GB, free: 146 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005702/1.265, allocations: 463.2 kB / 0.9494 GB, free: 145.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/1.265, allocations: 301.1 kB / 0.9497 GB, free: 145.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/1.267, allocations: 1.174 MB / 0.9509 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.27, allocations: 1.862 MB / 0.9527 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/1.274, allocations: 2.937 MB / 0.9556 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/1.274, allocations: 4 kB / 0.9556 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00663/1.281, allocations: 3.745 MB / 0.9592 GB, free: 135 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.281, allocations: 17.81 kB / 0.9592 GB, free: 135 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.281, allocations: 20 kB / 0.9593 GB, free: 134.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/1.282, allocations: 0.7289 MB / 0.96 GB, free: 134.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.284, allocations: 419.3 kB / 0.9604 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/1.286, allocations: 2.748 MB / 0.963 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.288, allocations: 257.7 kB / 0.9633 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/1.289, allocations: 155.9 kB / 0.9634 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002811/1.291, allocations: 1.652 MB / 0.9651 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001871/1.293, allocations: 1.668 MB / 0.9667 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003291/1.297, allocations: 2.559 MB / 0.9692 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.225e-06/1.297, allocations: 4 kB / 0.9692 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.006208/1.303, allocations: 3.423 MB / 0.9725 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.303, allocations: 16 kB / 0.9725 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.303, allocations: 16 kB / 0.9726 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/1.305, allocations: 0.8618 MB / 0.9734 GB, free: 119.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.307, allocations: 387.4 kB / 0.9738 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/1.321, allocations: 13.81 MB / 0.9873 GB, free: 104.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/1.323, allocations: 194.6 kB / 0.9874 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/1.324, allocations: 135.9 kB / 0.9876 GB, free: 104.6 MB / 0.7169 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 (199): * Single equations (assignments): 191 * 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.0005128/1.324, allocations: 293.5 kB / 0.9879 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/1.325, allocations: 359.3 kB / 0.9882 GB, free: 104 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/1.33, allocations: 2.628 MB / 0.9908 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/1.33, allocations: 15.98 kB / 0.9908 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.33, allocations: 4 kB / 0.9908 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.33, allocations: 3.984 kB / 0.9908 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/1.338, allocations: 4.814 MB / 0.9955 GB, free: 96.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.338, allocations: 0 / 0.9955 GB, free: 96.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.34, allocations: 243.7 kB / 0.9957 GB, free: 96.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008756/1.341, allocations: 390.9 kB / 0.9961 GB, free: 95.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-05/1.341, allocations: 47.95 kB / 0.9961 GB, free: 95.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/1.342, allocations: 2.623 MB / 0.9987 GB, free: 93.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.342, allocations: 0 / 0.9987 GB, free: 93.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/1.347, allocations: 2.41 MB / 1.001 GB, free: 90.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.348, allocations: 0.5974 MB / 1.002 GB, free: 89.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/1.349, allocations: 27.98 kB / 1.002 GB, free: 89.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.35, allocations: 91.84 kB / 1.002 GB, free: 89.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.351, allocations: 81.19 kB / 1.002 GB, free: 89.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.351, allocations: 71.94 kB / 1.002 GB, free: 89.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002881/1.354, allocations: 2.301 MB / 1.004 GB, free: 87.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/1.354, allocations: 0 / 1.004 GB, free: 87.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004508/1.358, allocations: 1.74 MB / 1.006 GB, free: 85.67 MB / 0.7169 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 (113): * Single equations (assignments): 99 * 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.001306/1.359, allocations: 0.7151 MB / 1.007 GB, free: 85.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00915/1.369, allocations: 4.505 MB / 1.011 GB, free: 80.51 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.369, allocations: 0 / 1.011 GB, free: 80.51 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/1.371, allocations: 0.8974 MB / 1.012 GB, free: 79.62 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007084/1.378, allocations: 1.768 MB / 1.014 GB, free: 77.89 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/1.386, allocations: 6.003 MB / 1.019 GB, free: 71.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.388, allocations: 2.237 MB / 1.022 GB, free: 69.58 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004203/1.392, allocations: 0.8534 MB / 1.022 GB, free: 68.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/1.392, allocations: 279.2 kB / 1.023 GB, free: 68.45 MB / 0.7169 GB Notification: Performance of SimCode: time 7.51e-07/1.392, allocations: 0 / 1.023 GB, free: 68.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.1106/1.503, allocations: 82.25 MB / 1.103 GB, free: 3.352 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)