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.001242/0.001242, allocations: 103.4 kB / 16.27 MB, free: 5.984 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.00132/0.00132, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.763/1.763, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001466/0.001466, allocations: 66.41 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2545, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.5438/0.7983, allocations: 105.5 MB / 0.887 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.06173/0.8601, allocations: 36.5 MB / 0.9227 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009434/0.8696, allocations: 165.1 kB / 0.9228 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007534/0.8772, allocations: 2.013 MB / 0.9248 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01709/0.8943, allocations: 4.993 MB / 0.9297 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01106/0.9054, allocations: 3.856 MB / 0.9334 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01623/0.9217, allocations: 9.46 MB / 0.9427 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006444/0.9282, allocations: 3.502 MB / 0.9461 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.9383, allocations: 3.961 MB / 0.95 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/0.9442, allocations: 3.03 MB / 0.9529 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001411/0.9457, allocations: 408 kB / 0.9533 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007624/0.9533, allocations: 2.636 MB / 0.9559 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002508/0.9559, allocations: 1.316 MB / 0.9572 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005959/0.9619, allocations: 2.34 MB / 0.9594 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.9766, allocations: 7.318 MB / 0.9666 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.9767, allocations: 0 / 0.9666 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9767, allocations: 0 / 0.9666 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002241/0.9769, allocations: 0 / 0.9666 GB, free: 15.73 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.01321/0.9902, allocations: 5.035 MB / 0.9715 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.9902, allocations: 8.031 kB / 0.9715 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006303/0.9965, allocations: 1.17 MB / 0.9727 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009433/1.006, allocations: 4.125 MB / 0.9767 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.006, allocations: 181.2 kB / 0.9769 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005483/1.007, allocations: 240 kB / 0.9771 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005274/1.012, allocations: 2.731 MB / 0.9798 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/1.012, allocations: 3.938 kB / 0.9798 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/1.012, allocations: 84 kB / 0.9798 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/1.012, allocations: 55.94 kB / 0.9799 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/1.017, allocations: 1.952 MB / 0.9818 GB, free: 15.85 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.01911/1.036, allocations: 12.73 MB / 0.9942 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/1.04, allocations: 1.519 MB / 0.9957 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.042, allocations: 0.704 MB / 0.9964 GB, free: 16 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007443/1.049, allocations: 3.995 MB / 1 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.049, allocations: 47.55 kB / 1 GB, free: 11.64 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 4.228e-06/1.049, allocations: 4 kB / 1 GB, free: 11.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009265/1.058, allocations: 3.034 MB / 1.003 GB, free: 8.512 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.058, allocations: 60.41 kB / 1.003 GB, free: 8.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/1.064, allocations: 3.437 MB / 1.007 GB, free: 4.984 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004665/1.064, allocations: 53.7 kB / 1.007 GB, free: 4.926 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.066, allocations: 1.765 MB / 1.009 GB, free: 3.148 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005145/1.066, allocations: 366.6 kB / 1.009 GB, free: 2.785 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006918/1.067, allocations: 471.1 kB / 1.009 GB, free: 2.316 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.067, allocations: 309.1 kB / 1.01 GB, free: 2.012 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/1.069, allocations: 1.18 MB / 1.011 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/1.072, allocations: 1.882 MB / 1.013 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005031/1.077, allocations: 2.952 MB / 1.015 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/1.077, allocations: 8 kB / 1.015 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007546/1.085, allocations: 3.765 MB / 1.019 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/1.085, allocations: 19.94 kB / 1.019 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/1.085, allocations: 16 kB / 1.019 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/1.087, allocations: 0.7251 MB / 1.02 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.089, allocations: 427.3 kB / 1.02 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/1.091, allocations: 2.767 MB / 1.023 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/1.095, allocations: 257.7 kB / 1.023 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/1.095, allocations: 155.9 kB / 1.023 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003509/1.099, allocations: 1.66 MB / 1.025 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002394/1.101, allocations: 1.687 MB / 1.027 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004185/1.105, allocations: 2.574 MB / 1.029 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.368e-05/1.105, allocations: 6.344 kB / 1.029 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007817/1.113, allocations: 3.472 MB / 1.033 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.113, allocations: 12.78 kB / 1.033 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.113, allocations: 23.94 kB / 1.033 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/1.116, allocations: 0.8506 MB / 1.033 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.118, allocations: 403.3 kB / 1.034 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/1.136, allocations: 13.8 MB / 1.047 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/1.139, allocations: 190.6 kB / 1.047 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/1.14, allocations: 136 kB / 1.048 GB, free: 9.137 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.0006507/1.14, allocations: 303.6 kB / 1.048 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/1.141, allocations: 355.3 kB / 1.048 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006445/1.148, allocations: 2.634 MB / 1.051 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.148, allocations: 16 kB / 1.051 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.148, allocations: 3.938 kB / 1.051 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.148, allocations: 7.969 kB / 1.051 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.158, allocations: 4.826 MB / 1.056 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.158, allocations: 4 kB / 1.056 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.159, allocations: 235.8 kB / 1.056 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009486/1.16, allocations: 386.9 kB / 1.056 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/1.16, allocations: 47.95 kB / 1.056 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.162, allocations: 2.624 MB / 1.059 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.162, allocations: 4 kB / 1.059 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005851/1.168, allocations: 2.42 MB / 1.061 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.17, allocations: 0.5974 MB / 1.062 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009103/1.171, allocations: 28 kB / 1.062 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.173, allocations: 84.53 kB / 1.062 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.173, allocations: 89.12 kB / 1.062 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.173, allocations: 71.94 kB / 1.062 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00549/1.179, allocations: 2.297 MB / 1.064 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/1.179, allocations: 4 kB / 1.064 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008442/1.187, allocations: 1.777 MB / 1.066 GB, free: 6.07 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.00255/1.19, allocations: 0.7669 MB / 1.067 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.202, allocations: 4.524 MB / 1.071 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.202, allocations: 2 kB / 1.071 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.205, allocations: 0.8898 MB / 1.072 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009947/1.215, allocations: 1.76 MB / 1.074 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.229, allocations: 6.187 MB / 1.08 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/1.231, allocations: 2.233 MB / 1.082 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.232, allocations: 295.3 kB / 1.082 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/1.232, allocations: 0 / 1.082 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of Templates: time 0.5364/1.768, allocations: 130.9 MB / 1.21 GB, free: 262 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)