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: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001613/0.001614, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001646/0.001646, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.825/1.825, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001443/0.001443, allocations: 67.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2391, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4555/0.6947, allocations: 105.5 MB / 0.8871 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.06143/0.7562, allocations: 36.51 MB / 0.9227 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009997/0.7662, allocations: 165.1 kB / 0.9229 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008092/0.7744, allocations: 2.013 MB / 0.9248 GB, free: 10 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.792, allocations: 4.99 MB / 0.9297 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.8023, allocations: 3.88 MB / 0.9335 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01723/0.8196, allocations: 9.475 MB / 0.9428 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006824/0.8264, allocations: 3.502 MB / 0.9462 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.8367, allocations: 3.982 MB / 0.9501 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006084/0.8428, allocations: 3.026 MB / 0.953 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.8446, allocations: 412 kB / 0.9534 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00768/0.8523, allocations: 2.629 MB / 0.956 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.8546, allocations: 1.316 MB / 0.9573 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005075/0.8597, allocations: 2.344 MB / 0.9595 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.874, allocations: 7.411 MB / 0.9668 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8741, allocations: 0 / 0.9668 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8741, allocations: 0 / 0.9668 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000166/0.8743, allocations: 4 kB / 0.9668 GB, free: 15.55 MB / 0.7637 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.01032/0.8846, allocations: 5.035 MB / 0.9717 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8847, allocations: 8.031 kB / 0.9717 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/0.8911, allocations: 1.174 MB / 0.9729 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.9016, allocations: 4.124 MB / 0.9769 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.9019, allocations: 181.2 kB / 0.9771 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007932/0.9027, allocations: 240 kB / 0.9773 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005197/0.9079, allocations: 2.723 MB / 0.9799 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.908, allocations: 0 / 0.9799 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.9082, allocations: 88 kB / 0.98 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.9082, allocations: 59.92 kB / 0.9801 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004581/0.9128, allocations: 1.952 MB / 0.982 GB, free: 15.67 MB / 0.7794 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.02041/0.9333, allocations: 12.63 MB / 0.9943 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003836/0.9371, allocations: 1.516 MB / 0.9958 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.9389, allocations: 0.7141 MB / 0.9965 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008136/0.9471, allocations: 3.999 MB / 1 GB, free: 11.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.9472, allocations: 43.56 kB / 1 GB, free: 11.56 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.096e-06/0.9472, allocations: 4 kB / 1 GB, free: 11.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009708/0.9569, allocations: 3.027 MB / 1.003 GB, free: 8.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.957, allocations: 60.41 kB / 1.003 GB, free: 8.367 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/0.9651, allocations: 3.437 MB / 1.007 GB, free: 4.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007701/0.966, allocations: 57.7 kB / 1.007 GB, free: 4.848 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.9679, allocations: 1.765 MB / 1.009 GB, free: 3.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007076/0.9687, allocations: 370.6 kB / 1.009 GB, free: 2.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/0.9695, allocations: 467.1 kB / 1.009 GB, free: 2.238 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9696, allocations: 305.1 kB / 1.01 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.972, allocations: 1.192 MB / 1.011 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.9749, allocations: 1.874 MB / 1.013 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004973/0.9799, allocations: 2.952 MB / 1.016 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.98, allocations: 8 kB / 1.016 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007635/0.9876, allocations: 3.764 MB / 1.019 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.9877, allocations: 12 kB / 1.019 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.9877, allocations: 20 kB / 1.019 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/0.9897, allocations: 0.7264 MB / 1.02 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.9915, allocations: 423.3 kB / 1.02 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.9941, allocations: 2.766 MB / 1.023 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.9972, allocations: 257.8 kB / 1.023 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/0.9976, allocations: 151.9 kB / 1.023 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003718/1.001, allocations: 1.663 MB / 1.025 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002789/1.004, allocations: 1.687 MB / 1.027 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004504/1.009, allocations: 2.581 MB / 1.029 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.1e-05/1.009, allocations: 7.938 kB / 1.029 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007981/1.017, allocations: 3.457 MB / 1.033 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.017, allocations: 12 kB / 1.033 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/1.017, allocations: 23.94 kB / 1.033 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/1.02, allocations: 0.8573 MB / 1.034 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/1.021, allocations: 403.3 kB / 1.034 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.04, allocations: 13.81 MB / 1.047 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.043, allocations: 190.6 kB / 1.048 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005173/1.044, allocations: 136 kB / 1.048 GB, free: 9.062 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 (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.0008408/1.045, allocations: 299.6 kB / 1.048 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.046, allocations: 365.7 kB / 1.048 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006983/1.053, allocations: 2.625 MB / 1.051 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/1.053, allocations: 16 kB / 1.051 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/1.053, allocations: 11.92 kB / 1.051 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.053, allocations: 3.984 kB / 1.051 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.066, allocations: 4.812 MB / 1.056 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.066, allocations: 0 / 1.056 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.067, allocations: 243.7 kB / 1.056 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/1.068, allocations: 392.8 kB / 1.056 GB, free: 220 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/1.068, allocations: 43.95 kB / 1.056 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/1.071, allocations: 2.631 MB / 1.059 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.071, allocations: 0 / 1.059 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/1.077, allocations: 2.415 MB / 1.061 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.079, allocations: 0.6013 MB / 1.062 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.08, allocations: 20 kB / 1.062 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.082, allocations: 91.84 kB / 1.062 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/1.082, allocations: 93.81 kB / 1.062 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.083, allocations: 71.94 kB / 1.062 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.005017/1.088, allocations: 2.297 MB / 1.064 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.11e-07/1.088, allocations: 0 / 1.064 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006798/1.094, allocations: 1.777 MB / 1.066 GB, free: 6 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.002277/1.097, allocations: 0.7569 MB / 1.067 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.107, allocations: 4.483 MB / 1.071 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.107, allocations: 0 / 1.071 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.11, allocations: 0.8822 MB / 1.072 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008403/1.118, allocations: 1.763 MB / 1.074 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.131, allocations: 5.93 MB / 1.08 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/1.134, allocations: 2.241 MB / 1.082 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003608/1.138, allocations: 0.8521 MB / 1.083 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/1.139, allocations: 279.3 kB / 1.083 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of SimCode: time 9.01e-07/1.139, allocations: 0 / 1.083 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.5572/1.696, allocations: 82.77 MB / 1.164 GB, free: 271.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (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 & ./Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)