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.008533/0.008534, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001621/0.001622, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.597/1.597, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.568/1.568, allocations: 251.7 MB / 0.5094 GB, free: 2.961 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.001387/0.001388, allocations: 68.33 kB / 0.7258 GB, free: 9.109 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2487, allocations: 104.7 MB / 0.828 GB, free: 308 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.764/1.013, allocations: 105.5 MB / 0.931 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06057/1.073, allocations: 36.48 MB / 0.9667 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01054/1.084, allocations: 169.5 kB / 0.9668 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007952/1.092, allocations: 2.011 MB / 0.9688 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02075/1.113, allocations: 4.996 MB / 0.9737 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01414/1.127, allocations: 3.887 MB / 0.9775 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01922/1.146, allocations: 9.45 MB / 0.9867 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007194/1.153, allocations: 3.508 MB / 0.9901 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/1.165, allocations: 3.997 MB / 0.994 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007276/1.173, allocations: 3.029 MB / 0.997 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001674/1.174, allocations: 410.5 kB / 0.9974 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009692/1.184, allocations: 2.531 MB / 0.9998 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002635/1.187, allocations: 1.32 MB / 1.001 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005342/1.192, allocations: 2.332 MB / 1.003 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/1.207, allocations: 7.35 MB / 1.011 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.207, allocations: 0 / 1.011 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.347e-05/1.207, allocations: 0 / 1.011 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002127/1.207, allocations: 3.938 kB / 1.011 GB, free: 2.176 MB / 0.7481 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.01243/1.22, allocations: 5.017 MB / 1.015 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.22, allocations: 12.03 kB / 1.015 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006562/1.227, allocations: 1.162 MB / 1.017 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/1.238, allocations: 4.227 MB / 1.021 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/1.238, allocations: 180.1 kB / 1.021 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005808/1.238, allocations: 236 kB / 1.021 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/1.245, allocations: 2.73 MB / 1.024 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/1.245, allocations: 3.938 kB / 1.024 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/1.246, allocations: 88 kB / 1.024 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/1.246, allocations: 52 kB / 1.024 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0052/1.251, allocations: 1.955 MB / 1.026 GB, free: 2.215 MB / 0.7637 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.01981/1.271, allocations: 12.6 MB / 1.038 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/1.275, allocations: 1.521 MB / 1.04 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.276, allocations: 0.7069 MB / 1.04 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007757/1.284, allocations: 3.98 MB / 1.044 GB, free: 14.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.284, allocations: 47.5 kB / 1.044 GB, free: 14.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.106e-06/1.284, allocations: 0 / 1.044 GB, free: 14.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009866/1.294, allocations: 3.025 MB / 1.047 GB, free: 11.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.294, allocations: 64.41 kB / 1.047 GB, free: 10.94 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006076/1.3, allocations: 3.429 MB / 1.051 GB, free: 7.492 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004952/1.301, allocations: 53.7 kB / 1.051 GB, free: 7.434 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.303, allocations: 1.773 MB / 1.052 GB, free: 5.648 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/1.303, allocations: 366.6 kB / 1.053 GB, free: 5.285 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007558/1.304, allocations: 463.2 kB / 1.053 GB, free: 4.824 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.304, allocations: 309.1 kB / 1.054 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/1.307, allocations: 1.168 MB / 1.055 GB, free: 3.348 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003033/1.31, allocations: 1.87 MB / 1.056 GB, free: 1.172 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005355/1.315, allocations: 2.936 MB / 1.059 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/1.315, allocations: 4 kB / 1.059 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008208/1.323, allocations: 3.733 MB / 1.063 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/1.323, allocations: 16 kB / 1.063 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.323, allocations: 16 kB / 1.063 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/1.325, allocations: 0.7339 MB / 1.064 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.327, allocations: 411.3 kB / 1.064 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/1.329, allocations: 2.76 MB / 1.067 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/1.332, allocations: 257.8 kB / 1.067 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/1.332, allocations: 147.9 kB / 1.067 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003235/1.336, allocations: 1.652 MB / 1.069 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002443/1.338, allocations: 1.668 MB / 1.07 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004185/1.342, allocations: 2.556 MB / 1.073 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.085e-06/1.342, allocations: 7.938 kB / 1.073 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.007406/1.35, allocations: 3.425 MB / 1.076 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.35, allocations: 12 kB / 1.076 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.35, allocations: 16 kB / 1.076 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/1.353, allocations: 0.8625 MB / 1.077 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.354, allocations: 395.3 kB / 1.078 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.372, allocations: 13.81 MB / 1.091 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.375, allocations: 194.7 kB / 1.091 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/1.375, allocations: 132 kB / 1.091 GB, free: 11.79 MB / 0.8419 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.0005841/1.376, allocations: 295.6 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/1.376, allocations: 359.4 kB / 1.092 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006165/1.382, allocations: 2.613 MB / 1.095 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.382, allocations: 27.97 kB / 1.095 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.382, allocations: 3.938 kB / 1.095 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.382, allocations: 3.984 kB / 1.095 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00913/1.392, allocations: 4.795 MB / 1.099 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.392, allocations: 3.938 kB / 1.099 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.393, allocations: 235.8 kB / 1.099 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009418/1.394, allocations: 398.9 kB / 1.1 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.394, allocations: 43.95 kB / 1.1 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/1.396, allocations: 2.627 MB / 1.102 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.396, allocations: 4.188 kB / 1.102 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/1.401, allocations: 2.414 MB / 1.105 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.402, allocations: 0.5935 MB / 1.105 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/1.403, allocations: 23.98 kB / 1.105 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.404, allocations: 95.84 kB / 1.106 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.404, allocations: 85.12 kB / 1.106 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.405, allocations: 71.94 kB / 1.106 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003344/1.408, allocations: 2.297 MB / 1.108 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/1.408, allocations: 0 / 1.108 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004694/1.413, allocations: 1.742 MB / 1.11 GB, free: 8.766 MB / 0.8575 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.00161/1.414, allocations: 0.7134 MB / 1.11 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009532/1.424, allocations: 4.443 MB / 1.115 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.424, allocations: 0 / 1.115 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/1.426, allocations: 0.8903 MB / 1.116 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/1.433, allocations: 1.771 MB / 1.117 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.443, allocations: 5.898 MB / 1.123 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.446, allocations: 2.233 MB / 1.125 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003302/1.449, allocations: 0.8572 MB / 1.126 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/1.45, allocations: 279.2 kB / 1.126 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of SimCode: time 9.72e-07/1.45, allocations: 0 / 1.126 GB, free: 7.594 MB / 0.8731 GB Notification: Performance of Templates: time 0.1378/1.587, allocations: 81.17 MB / 1.206 GB, free: 7.473 MB / 0.9512 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)