Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001001/0.001002, allocations: 110 kB / 16.41 MB, free: 6.492 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.0009776/0.0009776, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 68.38 kB / 0.5577 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1366, allocations: 76.17 MB / 0.6321 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09862/0.2352, allocations: 106.4 MB / 0.736 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3658/0.6011, allocations: 35.44 MB / 0.7706 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006875/0.608, allocations: 163.7 kB / 0.7708 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007979/0.616, allocations: 2.915 MB / 0.7736 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.6315, allocations: 5.564 MB / 0.779 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.6423, allocations: 4.129 MB / 0.7831 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.04093/0.6832, allocations: 32.41 MB / 0.8147 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006828/0.6901, allocations: 3.693 MB / 0.8183 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.7004, allocations: 4.422 MB / 0.8226 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006032/0.7065, allocations: 3.449 MB / 0.826 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.7078, allocations: 484 kB / 0.8265 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/0.7149, allocations: 3.005 MB / 0.8294 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.7169, allocations: 1.961 MB / 0.8313 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004381/0.7212, allocations: 3.097 MB / 0.8343 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.7337, allocations: 9.467 MB / 0.8436 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7338, allocations: 0 / 0.8436 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7338, allocations: 0 / 0.8436 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001931/0.734, allocations: 0 / 0.8436 GB, free: 12.45 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01194/0.7459, allocations: 6.486 MB / 0.8499 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.746, allocations: 8.031 kB / 0.8499 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.7564, allocations: 1.912 MB / 0.8518 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/0.7723, allocations: 7.593 MB / 0.8592 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.7725, allocations: 192.2 kB / 0.8594 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.7731, allocations: 258.3 kB / 0.8596 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006077/0.7792, allocations: 3.392 MB / 0.863 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.7792, allocations: 7.938 kB / 0.863 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.7795, allocations: 91.94 kB / 0.8631 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.7795, allocations: 52 kB / 0.8631 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005918/0.7854, allocations: 2.577 MB / 0.8656 GB, free: 5.742 MB / 0.6387 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.0196/0.8051, allocations: 15.25 MB / 0.8805 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/0.8104, allocations: 2.417 MB / 0.8829 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/0.8128, allocations: 1.043 MB / 0.8839 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007566/0.8204, allocations: 5.436 MB / 0.8892 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.8204, allocations: 51.56 kB / 0.8892 GB, free: 12.49 MB / 0.67 GB Notification: Performance of pre-optimization done (n=115): time 2.244e-06/0.8205, allocations: 0 / 0.8892 GB, free: 12.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=115): time 0.01109/0.8316, allocations: 4.216 MB / 0.8934 GB, free: 8.199 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.8316, allocations: 64.41 kB / 0.8934 GB, free: 8.125 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007248/0.8389, allocations: 5.728 MB / 0.899 GB, free: 2.398 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.8392, allocations: 68.91 kB / 0.8991 GB, free: 2.328 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.841, allocations: 2.277 MB / 0.9013 GB, free: 64 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.8415, allocations: 427.1 kB / 0.9017 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.8426, allocations: 0.9114 MB / 0.9026 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.8427, allocations: 309.1 kB / 0.9029 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004333/0.847, allocations: 2.895 MB / 0.9057 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005286/0.8524, allocations: 3.786 MB / 0.9094 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00903/0.8614, allocations: 6.172 MB / 0.9155 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.8615, allocations: 12 kB / 0.9155 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01237/0.8738, allocations: 7.793 MB / 0.9231 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.8739, allocations: 12 kB / 0.9231 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.8739, allocations: 24 kB / 0.9231 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.8759, allocations: 0.9677 MB / 0.9241 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.8787, allocations: 0.6787 MB / 0.9247 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.881, allocations: 2.97 MB / 0.9276 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.8849, allocations: 468.6 kB / 0.9281 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.8852, allocations: 227.8 kB / 0.9283 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005442/0.8907, allocations: 3.521 MB / 0.9317 GB, free: 152 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004325/0.895, allocations: 3.314 MB / 0.935 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007487/0.9025, allocations: 5.218 MB / 0.9401 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-05/0.9026, allocations: 4 kB / 0.9401 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01268/0.9153, allocations: 6.917 MB / 0.9468 GB, free: 56 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.9153, allocations: 12 kB / 0.9468 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.9154, allocations: 20 kB / 0.9468 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/0.9184, allocations: 1.089 MB / 0.9479 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.9211, allocations: 0.6435 MB / 0.9485 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.9432, allocations: 16.54 MB / 0.9647 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/0.9481, allocations: 378.2 kB / 0.965 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007169/0.9488, allocations: 191.9 kB / 0.9652 GB, free: 12.52 MB / 0.7481 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.001014/0.9499, allocations: 327.5 kB / 0.9655 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/0.9514, allocations: 497.3 kB / 0.966 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008891/0.9603, allocations: 3.536 MB / 0.9695 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.9603, allocations: 19.98 kB / 0.9695 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9603, allocations: 0 / 0.9695 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.9604, allocations: 7.984 kB / 0.9695 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.9753, allocations: 6.53 MB / 0.9759 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.9754, allocations: 4 kB / 0.9759 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.9771, allocations: 311.7 kB / 0.9762 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.9782, allocations: 450.9 kB / 0.9766 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.9784, allocations: 59.94 kB / 0.9767 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.9806, allocations: 2.801 MB / 0.9794 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9806, allocations: 0 / 0.9794 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008012/0.9886, allocations: 3.272 MB / 0.9826 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/0.9909, allocations: 0.8297 MB / 0.9834 GB, free: 9.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/0.9922, allocations: 28 kB / 0.9834 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/0.9953, allocations: 155.8 kB / 0.9836 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.9956, allocations: 101.1 kB / 0.9837 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/0.9958, allocations: 91.92 kB / 0.9838 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007747/1.004, allocations: 3.801 MB / 0.9875 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/1.004, allocations: 0 / 0.9875 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008299/1.012, allocations: 2.404 MB / 0.9898 GB, free: 3.066 MB / 0.7637 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 (121): * Single equations (assignments): 107 * 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.002431/1.014, allocations: 0.9288 MB / 0.9907 GB, free: 2.195 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01658/1.031, allocations: 8.404 MB / 0.9989 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.031, allocations: 0 / 0.9989 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/1.034, allocations: 1.21 MB / 1 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01117/1.046, allocations: 2.544 MB / 1.003 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.062, allocations: 8.645 MB / 1.011 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/1.065, allocations: 2.957 MB / 1.014 GB, free: 10.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005876/1.071, allocations: 1.383 MB / 1.015 GB, free: 9.012 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.072, allocations: 399.2 kB / 1.016 GB, free: 8.625 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.072, allocations: 0 / 1.016 GB, free: 8.625 MB / 0.795 GB Notification: Performance of Templates: time 0.4388/1.511, allocations: 110.9 MB / 1.124 GB, free: 295.1 MB / 0.8262 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)