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.01009/0.01009, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001761/0.001761, allocations: 194.5 kB / 16.67 MB, free: 5.93 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.601/1.601, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001448/0.001448, allocations: 71.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.6819/0.927, allocations: 105.5 MB / 0.931 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0486/0.9756, allocations: 36.48 MB / 0.9667 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008567/0.9842, allocations: 161.7 kB / 0.9668 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007446/0.9918, allocations: 2.015 MB / 0.9688 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0208/1.013, allocations: 4.993 MB / 0.9737 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.024, allocations: 3.887 MB / 0.9775 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01533/1.04, allocations: 9.456 MB / 0.9867 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006927/1.047, allocations: 3.501 MB / 0.9901 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/1.059, allocations: 3.908 MB / 0.9939 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007454/1.067, allocations: 3.026 MB / 0.9969 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001847/1.069, allocations: 409.8 kB / 0.9973 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008515/1.077, allocations: 2.533 MB / 0.9997 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002603/1.08, allocations: 1.317 MB / 1.001 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005295/1.085, allocations: 2.339 MB / 1.003 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/1.098, allocations: 7.343 MB / 1.01 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.099, allocations: 4 kB / 1.01 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.375e-06/1.099, allocations: 0 / 1.01 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002106/1.099, allocations: 0 / 1.01 GB, free: 2.246 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.01028/1.109, allocations: 5.021 MB / 1.015 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.109, allocations: 12.03 kB / 1.015 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/1.116, allocations: 1.162 MB / 1.017 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.127, allocations: 4.231 MB / 1.021 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/1.128, allocations: 188.1 kB / 1.021 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/1.129, allocations: 232 kB / 1.021 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007471/1.136, allocations: 2.726 MB / 1.024 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/1.136, allocations: 7.938 kB / 1.024 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/1.136, allocations: 84 kB / 1.024 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/1.136, allocations: 55.98 kB / 1.024 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/1.142, allocations: 1.951 MB / 1.026 GB, free: 2.277 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.02049/1.162, allocations: 12.6 MB / 1.038 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/1.166, allocations: 1.52 MB / 1.04 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/1.168, allocations: 0.7147 MB / 1.04 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007636/1.176, allocations: 3.972 MB / 1.044 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.176, allocations: 43.56 kB / 1.044 GB, free: 14.21 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.406e-06/1.176, allocations: 0 / 1.044 GB, free: 14.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009599/1.185, allocations: 3.025 MB / 1.047 GB, free: 11.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.185, allocations: 60.41 kB / 1.047 GB, free: 11.01 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/1.19, allocations: 3.429 MB / 1.051 GB, free: 7.562 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/1.19, allocations: 57.7 kB / 1.051 GB, free: 7.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/1.192, allocations: 1.773 MB / 1.052 GB, free: 5.715 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/1.192, allocations: 366.6 kB / 1.053 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006852/1.193, allocations: 459.2 kB / 1.053 GB, free: 4.895 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.193, allocations: 309.1 kB / 1.053 GB, free: 4.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/1.196, allocations: 1.176 MB / 1.055 GB, free: 3.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/1.199, allocations: 1.87 MB / 1.056 GB, free: 1.234 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005624/1.204, allocations: 2.928 MB / 1.059 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.204, allocations: 8 kB / 1.059 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008929/1.213, allocations: 3.744 MB / 1.063 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/1.213, allocations: 12 kB / 1.063 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/1.213, allocations: 20 kB / 1.063 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/1.215, allocations: 0.7185 MB / 1.064 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.217, allocations: 427.3 kB / 1.064 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/1.22, allocations: 2.748 MB / 1.067 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.223, allocations: 257.8 kB / 1.067 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.223, allocations: 151.9 kB / 1.067 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003375/1.227, allocations: 1.644 MB / 1.069 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002486/1.229, allocations: 1.676 MB / 1.07 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004306/1.234, allocations: 2.553 MB / 1.073 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.411e-05/1.234, allocations: 8 kB / 1.073 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.007652/1.241, allocations: 3.422 MB / 1.076 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.241, allocations: 12 kB / 1.076 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.241, allocations: 20 kB / 1.076 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/1.244, allocations: 0.859 MB / 1.077 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/1.246, allocations: 403.3 kB / 1.077 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.264, allocations: 13.8 MB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/1.266, allocations: 194.8 kB / 1.091 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/1.267, allocations: 132 kB / 1.091 GB, free: 11.86 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.000625/1.267, allocations: 307.6 kB / 1.092 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007015/1.268, allocations: 355.4 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006583/1.275, allocations: 2.613 MB / 1.094 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.275, allocations: 15.98 kB / 1.094 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.275, allocations: 7.938 kB / 1.094 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.275, allocations: 3.984 kB / 1.094 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.285, allocations: 4.799 MB / 1.099 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.285, allocations: 4 kB / 1.099 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.286, allocations: 239.8 kB / 1.099 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/1.288, allocations: 386.9 kB / 1.1 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/1.288, allocations: 47.95 kB / 1.1 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/1.29, allocations: 2.635 MB / 1.102 GB, free: 236 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.29, allocations: 4 kB / 1.102 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/1.295, allocations: 2.398 MB / 1.105 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.297, allocations: 0.5974 MB / 1.105 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/1.297, allocations: 24 kB / 1.105 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.299, allocations: 87.89 kB / 1.105 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.299, allocations: 101.1 kB / 1.106 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.299, allocations: 67.94 kB / 1.106 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003578/1.303, allocations: 2.297 MB / 1.108 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.8e-07/1.303, allocations: 0 / 1.108 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005155/1.308, allocations: 1.734 MB / 1.11 GB, free: 8.84 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.001633/1.31, allocations: 0.7307 MB / 1.11 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.32, allocations: 4.435 MB / 1.115 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.32, allocations: 0.625 kB / 1.115 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/1.323, allocations: 0.8977 MB / 1.115 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007143/1.33, allocations: 1.766 MB / 1.117 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.34, allocations: 5.899 MB / 1.123 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/1.342, allocations: 2.237 MB / 1.125 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003616/1.346, allocations: 0.8611 MB / 1.126 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007606/1.346, allocations: 271.3 kB / 1.126 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of SimCode: time 7.02e-07/1.346, allocations: 0 / 1.126 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.1329/1.479, allocations: 79.56 MB / 1.204 GB, free: 9.141 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)