Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001058/0.001062, allocations: 110.9 kB / 16.42 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.001086/0.001086, allocations: 189.6 kB / 17.35 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 281.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.001781, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3631, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09656/0.4596, allocations: 106.4 MB / 0.871 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04575/0.5054, allocations: 35.44 MB / 0.9056 GB, free: 5.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004997/0.5105, allocations: 167.1 kB / 0.9058 GB, free: 5.426 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006929/0.5174, allocations: 2.956 MB / 0.9086 GB, free: 2.457 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.53, allocations: 5.797 MB / 0.9143 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008411/0.5384, allocations: 4.139 MB / 0.9184 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04258/0.581, allocations: 32.42 MB / 0.95 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005751/0.5867, allocations: 3.692 MB / 0.9536 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3421/0.9289, allocations: 4.419 MB / 0.9579 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00605/0.935, allocations: 3.452 MB / 0.9613 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.9369, allocations: 480.5 kB / 0.9618 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006953/0.9438, allocations: 2.999 MB / 0.9647 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002106/0.9459, allocations: 1.962 MB / 0.9666 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.9494, allocations: 3.101 MB / 0.9696 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009031/0.9585, allocations: 9.482 MB / 0.9789 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9585, allocations: 0 / 0.9789 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9585, allocations: 6.594 kB / 0.9789 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001158/0.9586, allocations: 3.281 kB / 0.9789 GB, free: 31.9 MB / 0.7169 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.0101/0.9687, allocations: 6.476 MB / 0.9852 GB, free: 28.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9688, allocations: 11.5 kB / 0.9852 GB, free: 28.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.9792, allocations: 1.911 MB / 0.9871 GB, free: 28.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.9933, allocations: 7.597 MB / 0.9945 GB, free: 27.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.9934, allocations: 192.6 kB / 0.9947 GB, free: 27.33 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003988/0.9938, allocations: 247.2 kB / 0.9949 GB, free: 27.33 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00563/0.9995, allocations: 3.405 MB / 0.9983 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.9995, allocations: 9.219 kB / 0.9983 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.9998, allocations: 86.12 kB / 0.9984 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.9998, allocations: 58.19 kB / 0.9984 GB, free: 26.97 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005775/1.006, allocations: 2.574 MB / 1.001 GB, free: 26.93 MB / 0.7169 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.01697/1.023, allocations: 15.24 MB / 1.016 GB, free: 20.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/1.028, allocations: 2.414 MB / 1.018 GB, free: 20.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/1.03, allocations: 1.046 MB / 1.019 GB, free: 20.21 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006741/1.037, allocations: 5.425 MB / 1.024 GB, free: 17.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.037, allocations: 51.83 kB / 1.025 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 2.675e-06/1.037, allocations: 0 / 1.025 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.01079/1.048, allocations: 4.221 MB / 1.029 GB, free: 16.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/1.048, allocations: 68.38 kB / 1.029 GB, free: 16.11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006335/1.054, allocations: 5.732 MB / 1.034 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/1.054, allocations: 60.73 kB / 1.034 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/1.056, allocations: 2.281 MB / 1.037 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/1.056, allocations: 422.5 kB / 1.037 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/1.057, allocations: 0.9131 MB / 1.038 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.203e-05/1.057, allocations: 309 kB / 1.038 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/1.061, allocations: 2.904 MB / 1.041 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/1.065, allocations: 3.78 MB / 1.045 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007242/1.072, allocations: 6.166 MB / 1.051 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.072, allocations: 9.75 kB / 1.051 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01215/1.085, allocations: 7.799 MB / 1.058 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.085, allocations: 12 kB / 1.058 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.085, allocations: 23.47 kB / 1.058 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/1.087, allocations: 0.9719 MB / 1.059 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/1.09, allocations: 0.6807 MB / 1.06 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.092, allocations: 2.958 MB / 1.063 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003998/1.096, allocations: 474.4 kB / 1.063 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/1.096, allocations: 223.9 kB / 1.064 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005818/1.102, allocations: 3.517 MB / 1.067 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004597/1.107, allocations: 3.309 MB / 1.07 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007816/1.115, allocations: 5.23 MB / 1.075 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.849e-06/1.115, allocations: 4 kB / 1.075 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01227/1.127, allocations: 6.923 MB / 1.082 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.127, allocations: 12 kB / 1.082 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/1.127, allocations: 24.12 kB / 1.082 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/1.13, allocations: 1.083 MB / 1.083 GB, free: 0 / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.133, allocations: 0.6412 MB / 1.084 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/1.154, allocations: 16.54 MB / 1.1 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.158, allocations: 383.3 kB / 1.1 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/1.158, allocations: 186.1 kB / 1.101 GB, free: 13.73 MB / 0.7794 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.0007016/1.159, allocations: 343.2 kB / 1.101 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/1.16, allocations: 497.3 kB / 1.101 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008538/1.168, allocations: 3.542 MB / 1.105 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/1.168, allocations: 3.984 kB / 1.105 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.168, allocations: 7.875 kB / 1.105 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.17, allocations: 0.822 MB / 1.106 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000618/1.171, allocations: 23.47 kB / 1.106 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.173, allocations: 163.8 kB / 1.106 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.173, allocations: 125.1 kB / 1.106 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007578/1.181, allocations: 2.696 MB / 1.109 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008969/1.19, allocations: 4.141 MB / 1.113 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002542/1.193, allocations: 1.037 MB / 1.114 GB, free: 384 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00607/1.199, allocations: 3.805 MB / 1.117 GB, free: 12.58 MB / 0.795 GB Notification: Performance of Backend: time 5.21e-07/1.199, allocations: 0 / 1.117 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0163/1.215, allocations: 8.49 MB / 1.126 GB, free: 4.266 MB / 0.795 GB Notification: Performance of SimCode: time 0.0193/1.234, allocations: 11.03 MB / 1.136 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.1851/1.419, allocations: 125.6 MB / 1.259 GB, free: 13.63 MB / 0.9356 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)