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.001291/0.001291, allocations: 97.77 kB / 16.4 MB, free: 6.496 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.00146/0.00146, allocations: 193.2 kB / 17.34 MB, free: 5.77 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 69.09 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.104/0.2741, allocations: 106.4 MB / 0.736 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4162/0.6904, allocations: 35.44 MB / 0.7706 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007518/0.698, allocations: 165.2 kB / 0.7708 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008576/0.7066, allocations: 2.908 MB / 0.7736 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.7229, allocations: 5.562 MB / 0.779 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00961/0.7326, allocations: 4.138 MB / 0.7831 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.04234/0.7749, allocations: 32.41 MB / 0.8147 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006662/0.7816, allocations: 3.688 MB / 0.8183 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.7934, allocations: 4.41 MB / 0.8226 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006498/0.7999, allocations: 3.456 MB / 0.826 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.8013, allocations: 483.9 kB / 0.8265 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007532/0.8088, allocations: 3.007 MB / 0.8294 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.811, allocations: 1.963 MB / 0.8313 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004851/0.8159, allocations: 3.094 MB / 0.8343 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.8301, allocations: 9.463 MB / 0.8436 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8301, allocations: 0 / 0.8436 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8301, allocations: 0 / 0.8436 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001816/0.8303, allocations: 0 / 0.8436 GB, free: 12.6 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.01261/0.8429, allocations: 6.482 MB / 0.8499 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.843, allocations: 12.03 kB / 0.8499 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.8536, allocations: 1.916 MB / 0.8518 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/0.8713, allocations: 7.594 MB / 0.8592 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.8716, allocations: 196.2 kB / 0.8594 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007835/0.8724, allocations: 244 kB / 0.8596 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006558/0.8789, allocations: 3.407 MB / 0.863 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.879, allocations: 3.938 kB / 0.863 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.8792, allocations: 88 kB / 0.863 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.8793, allocations: 56 kB / 0.8631 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006397/0.8857, allocations: 2.572 MB / 0.8656 GB, free: 5.898 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.02306/0.9088, allocations: 15.26 MB / 0.8805 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006029/0.9148, allocations: 2.406 MB / 0.8829 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.9174, allocations: 1.048 MB / 0.8839 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009802/0.9273, allocations: 5.432 MB / 0.8892 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.9273, allocations: 47.56 kB / 0.8892 GB, free: 12.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=115): time 3.346e-06/0.9274, allocations: 0 / 0.8892 GB, free: 12.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=115): time 0.01287/0.9402, allocations: 4.229 MB / 0.8934 GB, free: 8.348 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9403, allocations: 64.41 kB / 0.8934 GB, free: 8.273 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009546/0.9499, allocations: 5.732 MB / 0.899 GB, free: 2.543 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005055/0.9504, allocations: 61.7 kB / 0.8991 GB, free: 2.477 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002341/0.9527, allocations: 2.284 MB / 0.9013 GB, free: 212 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/0.9535, allocations: 420.9 kB / 0.9017 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/0.9554, allocations: 0.9037 MB / 0.9026 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9555, allocations: 309 kB / 0.9029 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004867/0.9604, allocations: 2.903 MB / 0.9057 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0058/0.9662, allocations: 3.783 MB / 0.9094 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.9763, allocations: 6.175 MB / 0.9155 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/0.9764, allocations: 4 kB / 0.9155 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01447/0.9909, allocations: 7.803 MB / 0.9231 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.9909, allocations: 18.12 kB / 0.9231 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.991, allocations: 20 kB / 0.9231 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.9932, allocations: 0.9675 MB / 0.9241 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.9963, allocations: 0.6748 MB / 0.9247 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.9989, allocations: 2.966 MB / 0.9276 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/1.003, allocations: 484 kB / 0.9281 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005288/1.004, allocations: 223.9 kB / 0.9283 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006342/1.01, allocations: 3.517 MB / 0.9317 GB, free: 308 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005022/1.015, allocations: 3.309 MB / 0.935 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008375/1.024, allocations: 5.211 MB / 0.94 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.928e-05/1.024, allocations: 12 kB / 0.9401 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01419/1.038, allocations: 6.921 MB / 0.9468 GB, free: 212 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/1.038, allocations: 12 kB / 0.9468 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/1.038, allocations: 20 kB / 0.9468 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/1.041, allocations: 1.081 MB / 0.9479 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003011/1.044, allocations: 0.6474 MB / 0.9485 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/1.066, allocations: 16.54 MB / 0.9647 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.07, allocations: 378.1 kB / 0.965 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006211/1.071, allocations: 191.9 kB / 0.9652 GB, free: 12.68 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.000889/1.072, allocations: 335.5 kB / 0.9656 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/1.073, allocations: 497.3 kB / 0.966 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009014/1.082, allocations: 3.521 MB / 0.9695 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/1.082, allocations: 23.98 kB / 0.9695 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.082, allocations: 4 kB / 0.9695 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/1.082, allocations: 7.969 kB / 0.9695 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.097, allocations: 6.53 MB / 0.9759 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.097, allocations: 3.984 kB / 0.9759 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.099, allocations: 311.7 kB / 0.9762 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/1.1, allocations: 458.1 kB / 0.9766 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/1.1, allocations: 55.95 kB / 0.9767 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/1.103, allocations: 2.795 MB / 0.9794 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.103, allocations: 256 / 0.9794 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008202/1.111, allocations: 3.283 MB / 0.9826 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.113, allocations: 0.8181 MB / 0.9834 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.114, allocations: 24 kB / 0.9834 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.117, allocations: 167.7 kB / 0.9836 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/1.117, allocations: 97.12 kB / 0.9837 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.118, allocations: 91.92 kB / 0.9838 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007327/1.125, allocations: 3.798 MB / 0.9875 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.01e-07/1.125, allocations: 0 / 0.9875 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007783/1.133, allocations: 2.398 MB / 0.9898 GB, free: 3.23 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.002282/1.135, allocations: 0.9311 MB / 0.9907 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01688/1.152, allocations: 8.415 MB / 0.9989 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.152, allocations: 0 / 0.9989 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/1.155, allocations: 1.214 MB / 1 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/1.167, allocations: 2.528 MB / 1.003 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.184, allocations: 8.654 MB / 1.011 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/1.186, allocations: 2.961 MB / 1.014 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005097/1.191, allocations: 1.387 MB / 1.015 GB, free: 9.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.192, allocations: 387.2 kB / 1.016 GB, free: 8.785 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/1.193, allocations: 4 kB / 1.016 GB, free: 8.781 MB / 0.795 GB Notification: Performance of Templates: time 0.4649/1.657, allocations: 112.9 MB / 1.126 GB, free: 295.6 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)