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.007826/0.007826, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001689/0.001689, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.776/1.776, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001466/0.001466, allocations: 64.45 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.255, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.7175/0.9725, allocations: 105.5 MB / 0.931 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05201/1.025, allocations: 36.47 MB / 0.9667 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/1.035, allocations: 160.5 kB / 0.9668 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007237/1.042, allocations: 2.015 MB / 0.9688 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01625/1.058, allocations: 4.991 MB / 0.9736 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01117/1.07, allocations: 3.883 MB / 0.9774 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01679/1.086, allocations: 9.467 MB / 0.9867 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006879/1.093, allocations: 3.505 MB / 0.9901 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/1.104, allocations: 3.909 MB / 0.9939 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007446/1.112, allocations: 3.022 MB / 0.9969 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.002233/1.114, allocations: 408.3 kB / 0.9973 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/1.125, allocations: 2.537 MB / 0.9997 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002819/1.127, allocations: 1.318 MB / 1.001 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006495/1.134, allocations: 2.336 MB / 1.003 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01682/1.151, allocations: 7.379 MB / 1.011 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.151, allocations: 0 / 1.011 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.394e-06/1.151, allocations: 0 / 1.011 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002528/1.151, allocations: 0 / 1.011 GB, free: 2.203 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.01491/1.166, allocations: 5.164 MB / 1.016 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.166, allocations: 8.031 kB / 1.016 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/1.173, allocations: 1.2 MB / 1.017 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/1.184, allocations: 4.265 MB / 1.021 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/1.184, allocations: 180.2 kB / 1.021 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006475/1.185, allocations: 232 kB / 1.021 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/1.19, allocations: 2.728 MB / 1.024 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/1.19, allocations: 7.938 kB / 1.024 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/1.19, allocations: 84 kB / 1.024 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/1.191, allocations: 52 kB / 1.024 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004949/1.195, allocations: 1.967 MB / 1.026 GB, free: 2.023 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.01882/1.214, allocations: 12.62 MB / 1.038 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/1.218, allocations: 1.508 MB / 1.04 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.22, allocations: 0.7147 MB / 1.041 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007701/1.228, allocations: 3.981 MB / 1.044 GB, free: 13.99 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.228, allocations: 43.56 kB / 1.044 GB, free: 13.94 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/1.228, allocations: 4 kB / 1.044 GB, free: 13.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009324/1.237, allocations: 3.027 MB / 1.047 GB, free: 10.81 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/1.237, allocations: 64.41 kB / 1.047 GB, free: 10.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/1.242, allocations: 3.437 MB / 1.051 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004076/1.243, allocations: 61.7 kB / 1.051 GB, free: 7.211 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.244, allocations: 1.779 MB / 1.053 GB, free: 5.422 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005221/1.245, allocations: 392.6 kB / 1.053 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007026/1.246, allocations: 463.3 kB / 1.053 GB, free: 4.574 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.246, allocations: 313 kB / 1.054 GB, free: 4.266 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.248, allocations: 1.172 MB / 1.055 GB, free: 3.09 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003227/1.252, allocations: 1.87 MB / 1.057 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005468/1.257, allocations: 2.932 MB / 1.06 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.257, allocations: 4 kB / 1.06 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.008524/1.266, allocations: 3.758 MB / 1.063 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.266, allocations: 12 kB / 1.063 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.266, allocations: 16 kB / 1.063 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.268, allocations: 0.7337 MB / 1.064 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/1.27, allocations: 419.3 kB / 1.064 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/1.272, allocations: 2.752 MB / 1.067 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.275, allocations: 270.4 kB / 1.067 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/1.275, allocations: 147.9 kB / 1.067 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003653/1.279, allocations: 1.648 MB / 1.069 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002718/1.282, allocations: 1.676 MB / 1.071 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00475/1.286, allocations: 2.556 MB / 1.073 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.447e-05/1.286, allocations: 4 kB / 1.073 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.008509/1.295, allocations: 3.432 MB / 1.077 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/1.295, allocations: 12 kB / 1.077 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.103e-05/1.295, allocations: 27.97 kB / 1.077 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/1.298, allocations: 0.8626 MB / 1.077 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.3, allocations: 395.3 kB / 1.078 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/1.321, allocations: 13.81 MB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/1.325, allocations: 199 kB / 1.092 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000917/1.326, allocations: 128 kB / 1.092 GB, free: 11.48 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.001201/1.327, allocations: 299.6 kB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.329, allocations: 369.5 kB / 1.092 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007713/1.337, allocations: 2.633 MB / 1.095 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.337, allocations: 20 kB / 1.095 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.337, allocations: 3.938 kB / 1.095 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/1.337, allocations: 7.969 kB / 1.095 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/1.351, allocations: 4.795 MB / 1.1 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.351, allocations: 0 / 1.1 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.352, allocations: 235.7 kB / 1.1 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/1.353, allocations: 403 kB / 1.1 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/1.353, allocations: 43.91 kB / 1.1 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/1.356, allocations: 2.627 MB / 1.103 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.356, allocations: 4 kB / 1.103 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/1.361, allocations: 2.424 MB / 1.105 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.363, allocations: 0.6113 MB / 1.106 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006735/1.364, allocations: 20 kB / 1.106 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.365, allocations: 95.89 kB / 1.106 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.366, allocations: 89.08 kB / 1.106 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.366, allocations: 75.94 kB / 1.106 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003748/1.369, allocations: 2.293 MB / 1.108 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/1.369, allocations: 0 / 1.108 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005388/1.375, allocations: 1.766 MB / 1.11 GB, free: 8.383 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.001686/1.377, allocations: 0.7262 MB / 1.111 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.387, allocations: 4.446 MB / 1.115 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.387, allocations: 0 / 1.115 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.389, allocations: 0.894 MB / 1.116 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007952/1.397, allocations: 1.761 MB / 1.118 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.409, allocations: 6.034 MB / 1.124 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/1.411, allocations: 2.245 MB / 1.126 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003866/1.415, allocations: 0.8456 MB / 1.127 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.416, allocations: 275.3 kB / 1.127 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/1.416, allocations: 7.875 kB / 1.127 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of Templates: time 0.1432/1.559, allocations: 79.56 MB / 1.204 GB, free: 8.543 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)