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.0012/0.0012, allocations: 107.7 kB / 16.37 MB, free: 6.016 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.001124/0.001124, allocations: 191.6 kB / 17.31 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.405/1.405, allocations: 205.1 MB / 223.2 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001447/0.001448, allocations: 75.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4682/0.7092, allocations: 105.5 MB / 0.8878 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05848/0.7677, allocations: 36.52 MB / 0.9234 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008671/0.7765, allocations: 165.9 kB / 0.9236 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007413/0.784, allocations: 2.01 MB / 0.9256 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01661/0.8006, allocations: 4.989 MB / 0.9304 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.8116, allocations: 3.88 MB / 0.9342 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01582/0.8274, allocations: 9.477 MB / 0.9435 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006608/0.8341, allocations: 3.503 MB / 0.9469 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/0.8453, allocations: 3.982 MB / 0.9508 GB, free: 360 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/0.8519, allocations: 3.019 MB / 0.9537 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.8539, allocations: 416 kB / 0.9541 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008309/0.8622, allocations: 2.632 MB / 0.9567 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.865, allocations: 1.316 MB / 0.958 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005952/0.8709, allocations: 2.34 MB / 0.9603 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.8877, allocations: 7.403 MB / 0.9675 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8878, allocations: 0 / 0.9675 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8878, allocations: 0 / 0.9675 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002708/0.8881, allocations: 3.938 kB / 0.9675 GB, free: 15.18 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.01283/0.9009, allocations: 5.051 MB / 0.9724 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.901, allocations: 8.031 kB / 0.9724 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.9075, allocations: 1.17 MB / 0.9736 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.9184, allocations: 4.234 MB / 0.9777 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.9187, allocations: 180.2 kB / 0.9779 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008584/0.9196, allocations: 232 kB / 0.9781 GB, free: 4.137 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005728/0.9253, allocations: 2.723 MB / 0.9808 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.9254, allocations: 4 kB / 0.9808 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.9256, allocations: 91.05 kB / 0.9809 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.9257, allocations: 52 kB / 0.9809 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004898/0.9306, allocations: 1.959 MB / 0.9828 GB, free: 15.18 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.01919/0.9498, allocations: 12.63 MB / 0.9952 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/0.9536, allocations: 1.521 MB / 0.9966 GB, free: 152 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.9553, allocations: 0.7091 MB / 0.9973 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007398/0.9627, allocations: 3.987 MB / 1.001 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.9628, allocations: 55.5 kB / 1.001 GB, free: 11.06 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.868e-06/0.9628, allocations: 0 / 1.001 GB, free: 11.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009871/0.9727, allocations: 3.014 MB / 1.004 GB, free: 7.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.9728, allocations: 68.41 kB / 1.004 GB, free: 7.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005758/0.9786, allocations: 3.433 MB / 1.008 GB, free: 4.426 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005139/0.9791, allocations: 57.7 kB / 1.008 GB, free: 4.363 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.9807, allocations: 1.761 MB / 1.009 GB, free: 2.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006545/0.9814, allocations: 374.6 kB / 1.01 GB, free: 2.219 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007544/0.9821, allocations: 471.1 kB / 1.01 GB, free: 1.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.9823, allocations: 309.1 kB / 1.011 GB, free: 1.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/0.9846, allocations: 1.191 MB / 1.012 GB, free: 256 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/0.9876, allocations: 1.878 MB / 1.014 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.993, allocations: 2.948 MB / 1.016 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.993, allocations: 4 kB / 1.016 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007818/1.001, allocations: 3.761 MB / 1.02 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.001, allocations: 12.94 kB / 1.02 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/1.001, allocations: 16.55 kB / 1.02 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/1.003, allocations: 0.7327 MB / 1.021 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.005, allocations: 427.3 kB / 1.021 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/1.007, allocations: 2.752 MB / 1.024 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/1.01, allocations: 267.1 kB / 1.024 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/1.01, allocations: 153.2 kB / 1.024 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003418/1.014, allocations: 1.663 MB / 1.026 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002405/1.016, allocations: 1.687 MB / 1.028 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004166/1.02, allocations: 2.581 MB / 1.03 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.248e-05/1.02, allocations: 8 kB / 1.03 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007582/1.028, allocations: 3.445 MB / 1.033 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.028, allocations: 12 kB / 1.033 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.028, allocations: 20.84 kB / 1.034 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/1.031, allocations: 0.8693 MB / 1.034 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.032, allocations: 395.3 kB / 1.035 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/1.05, allocations: 13.81 MB / 1.048 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/1.053, allocations: 194.6 kB / 1.048 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/1.054, allocations: 132 kB / 1.049 GB, free: 8.578 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.0006544/1.054, allocations: 299.6 kB / 1.049 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00093/1.055, allocations: 355.3 kB / 1.049 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006459/1.062, allocations: 2.637 MB / 1.052 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.062, allocations: 12 kB / 1.052 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.062, allocations: 0 / 1.052 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.062, allocations: 11.91 kB / 1.052 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.072, allocations: 4.814 MB / 1.056 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.072, allocations: 4 kB / 1.056 GB, free: 380 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.073, allocations: 235.7 kB / 1.057 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.074, allocations: 389.8 kB / 1.057 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.074, allocations: 48.83 kB / 1.057 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/1.076, allocations: 2.624 MB / 1.06 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.076, allocations: 4.031 kB / 1.06 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005884/1.082, allocations: 2.405 MB / 1.062 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.084, allocations: 0.602 MB / 1.063 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/1.084, allocations: 27.94 kB / 1.063 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.086, allocations: 91.91 kB / 1.063 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.086, allocations: 89.12 kB / 1.063 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.086, allocations: 68.75 kB / 1.063 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003864/1.09, allocations: 2.297 MB / 1.065 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.11e-07/1.09, allocations: 0 / 1.065 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006394/1.097, allocations: 1.789 MB / 1.067 GB, free: 5.531 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.001976/1.099, allocations: 0.751 MB / 1.068 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.109, allocations: 4.475 MB / 1.072 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.109, allocations: 0 / 1.072 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/1.111, allocations: 0.8863 MB / 1.073 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007927/1.119, allocations: 1.76 MB / 1.075 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/1.131, allocations: 6.092 MB / 1.081 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/1.133, allocations: 2.23 MB / 1.083 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.134, allocations: 299.2 kB / 1.083 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of SimCode: time 1.963e-06/1.134, allocations: 0 / 1.083 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of Templates: time 0.5317/1.666, allocations: 130.9 MB / 1.211 GB, free: 263 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)