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.01032/0.01032, allocations: 106.2 kB / 15.74 MB, free: 6 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.002432/0.002432, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.352 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.685/1.685, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001534/0.001534, allocations: 77.61 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2445, 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.6361/0.8806, allocations: 105.5 MB / 0.931 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05489/0.9355, allocations: 36.48 MB / 0.9667 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008276/0.9438, allocations: 164.7 kB / 0.9668 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00733/0.9512, allocations: 2.048 MB / 0.9688 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01798/0.9693, allocations: 5.208 MB / 0.9739 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.9818, allocations: 3.889 MB / 0.9777 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01671/0.9985, allocations: 9.476 MB / 0.9869 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006513/1.005, allocations: 3.508 MB / 0.9904 GB, free: 432 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/1.015, allocations: 4.007 MB / 0.9943 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006291/1.022, allocations: 3.03 MB / 0.9972 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.002228/1.024, allocations: 414.1 kB / 0.9976 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008869/1.033, allocations: 2.533 MB / 1 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0025/1.035, allocations: 1.314 MB / 1.001 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006238/1.042, allocations: 2.337 MB / 1.004 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01719/1.059, allocations: 7.343 MB / 1.011 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/1.059, allocations: 0 / 1.011 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.346e-06/1.059, allocations: 0 / 1.011 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0004394/1.059, allocations: 4 kB / 1.011 GB, free: 1.848 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.01483/1.074, allocations: 5.021 MB / 1.016 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.074, allocations: 12.03 kB / 1.016 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/1.081, allocations: 1.166 MB / 1.017 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/1.093, allocations: 4.223 MB / 1.021 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/1.093, allocations: 192.1 kB / 1.021 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/1.094, allocations: 232 kB / 1.021 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/1.1, allocations: 2.726 MB / 1.024 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/1.1, allocations: 7.938 kB / 1.024 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/1.101, allocations: 84 kB / 1.024 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/1.101, allocations: 48 kB / 1.024 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/1.106, allocations: 1.959 MB / 1.026 GB, free: 1.875 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.02039/1.126, allocations: 12.6 MB / 1.038 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/1.13, allocations: 1.516 MB / 1.04 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/1.132, allocations: 0.7148 MB / 1.041 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007912/1.14, allocations: 3.969 MB / 1.045 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/1.14, allocations: 51.56 kB / 1.045 GB, free: 13.81 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/1.14, allocations: 0 / 1.045 GB, free: 13.81 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009806/1.15, allocations: 3.025 MB / 1.048 GB, free: 10.69 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/1.15, allocations: 64.41 kB / 1.048 GB, free: 10.61 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006456/1.157, allocations: 3.437 MB / 1.051 GB, free: 7.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003855/1.157, allocations: 57.7 kB / 1.051 GB, free: 7.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/1.159, allocations: 1.769 MB / 1.053 GB, free: 5.312 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000501/1.159, allocations: 366.6 kB / 1.053 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009404/1.16, allocations: 459.2 kB / 1.053 GB, free: 4.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/1.16, allocations: 305.1 kB / 1.054 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.163, allocations: 1.176 MB / 1.055 GB, free: 3.012 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/1.166, allocations: 1.862 MB / 1.057 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005274/1.171, allocations: 2.936 MB / 1.06 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.171, allocations: 4 kB / 1.06 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007539/1.179, allocations: 3.745 MB / 1.063 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.179, allocations: 12 kB / 1.063 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/1.179, allocations: 16 kB / 1.063 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/1.18, allocations: 0.7294 MB / 1.064 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.182, allocations: 411.3 kB / 1.064 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.184, allocations: 2.756 MB / 1.067 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/1.187, allocations: 261.9 kB / 1.067 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.187, allocations: 151.9 kB / 1.067 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003217/1.191, allocations: 1.653 MB / 1.069 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002394/1.193, allocations: 1.664 MB / 1.071 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004096/1.197, allocations: 2.56 MB / 1.073 GB, free: 15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.389e-05/1.197, allocations: 7.938 kB / 1.073 GB, free: 15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.007634/1.205, allocations: 3.418 MB / 1.077 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.205, allocations: 12 kB / 1.077 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.205, allocations: 20.84 kB / 1.077 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/1.208, allocations: 0.8659 MB / 1.077 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.209, allocations: 391.4 kB / 1.078 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/1.228, allocations: 13.8 MB / 1.091 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.231, allocations: 194.7 kB / 1.091 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006352/1.232, allocations: 135.9 kB / 1.092 GB, free: 11.46 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.001152/1.233, allocations: 303.6 kB / 1.092 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.234, allocations: 351.4 kB / 1.092 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006867/1.241, allocations: 2.621 MB / 1.095 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/1.241, allocations: 15.98 kB / 1.095 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.241, allocations: 3.938 kB / 1.095 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.241, allocations: 3.984 kB / 1.095 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.253, allocations: 4.799 MB / 1.1 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.253, allocations: 4 kB / 1.1 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.255, allocations: 239.7 kB / 1.1 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/1.256, allocations: 390.9 kB / 1.1 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.256, allocations: 47.95 kB / 1.1 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/1.258, allocations: 2.627 MB / 1.103 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.258, allocations: 7.969 kB / 1.103 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/1.263, allocations: 2.398 MB / 1.105 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.265, allocations: 0.5974 MB / 1.106 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008451/1.266, allocations: 27.98 kB / 1.106 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/1.268, allocations: 91.84 kB / 1.106 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/1.268, allocations: 93.12 kB / 1.106 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.268, allocations: 67.94 kB / 1.106 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004563/1.273, allocations: 2.297 MB / 1.108 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/1.273, allocations: 0 / 1.108 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008763/1.282, allocations: 1.734 MB / 1.11 GB, free: 8.445 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.00286/1.285, allocations: 0.7243 MB / 1.111 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01471/1.299, allocations: 4.445 MB / 1.115 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.299, allocations: 4.062 kB / 1.115 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/1.303, allocations: 0.886 MB / 1.116 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/1.314, allocations: 1.76 MB / 1.118 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.33, allocations: 5.91 MB / 1.123 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/1.334, allocations: 2.237 MB / 1.125 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.005581/1.339, allocations: 0.8572 MB / 1.126 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.34, allocations: 283.2 kB / 1.127 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of SimCode: time 1.232e-06/1.341, allocations: 0 / 1.127 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of Templates: time 0.1761/1.517, allocations: 79.56 MB / 1.204 GB, free: 8.738 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)