Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001324/0.001324, allocations: 106.8 kB / 16.27 MB, free: 5.984 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.001385/0.001385, allocations: 189 kB / 17.19 MB, free: 5.609 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.827/0.827, allocations: 135.1 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.89 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3572, allocations: 80.92 MB / 0.585 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1057/0.4629, allocations: 104.9 MB / 0.6875 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05049/0.5135, allocations: 32.9 MB / 0.7196 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006264/0.5198, allocations: 155.1 kB / 0.7198 GB, free: 400 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006446/0.5263, allocations: 2.021 MB / 0.7217 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.5412, allocations: 5.019 MB / 0.7266 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.5516, allocations: 3.864 MB / 0.7304 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01472/0.5663, allocations: 9.526 MB / 0.7397 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007234/0.5736, allocations: 3.535 MB / 0.7432 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.5838, allocations: 3.989 MB / 0.7471 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005484/0.5893, allocations: 3.046 MB / 0.75 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.5911, allocations: 412 kB / 0.7504 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3625/0.9537, allocations: 2.62 MB / 0.753 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002307/0.956, allocations: 1.32 MB / 0.7543 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004479/0.9605, allocations: 2.361 MB / 0.7566 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.9746, allocations: 7.35 MB / 0.7638 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9747, allocations: 0 / 0.7638 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9747, allocations: 3.062 kB / 0.7638 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003185/0.975, allocations: 0 / 0.7638 GB, free: 17.13 MB / 0.5762 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.01433/0.9894, allocations: 5.082 MB / 0.7687 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.9894, allocations: 12.3 kB / 0.7687 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007088/0.9965, allocations: 1.173 MB / 0.7699 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.007, allocations: 4.153 MB / 0.774 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/1.007, allocations: 187.2 kB / 0.7741 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008663/1.008, allocations: 231.7 kB / 0.7744 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005059/1.013, allocations: 2.726 MB / 0.777 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/1.013, allocations: 1.078 kB / 0.777 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/1.013, allocations: 86.75 kB / 0.7771 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/1.013, allocations: 51.84 kB / 0.7771 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/1.018, allocations: 1.962 MB / 0.7791 GB, free: 13.3 MB / 0.5762 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.01686/1.035, allocations: 12.72 MB / 0.7915 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/1.038, allocations: 1.53 MB / 0.793 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/1.04, allocations: 0.7139 MB / 0.7937 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006707/1.046, allocations: 3.989 MB / 0.7976 GB, free: 20.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.046, allocations: 42.09 kB / 0.7976 GB, free: 20.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.036e-06/1.046, allocations: 0 / 0.7976 GB, free: 20.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.008896/1.055, allocations: 3.032 MB / 0.8006 GB, free: 20.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/1.055, allocations: 64.47 kB / 0.8006 GB, free: 20.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/1.06, allocations: 3.476 MB / 0.804 GB, free: 19.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000419/1.061, allocations: 59.86 kB / 0.8041 GB, free: 19.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/1.062, allocations: 1.79 MB / 0.8058 GB, free: 19.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/1.063, allocations: 368.1 kB / 0.8062 GB, free: 18.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/1.063, allocations: 474.2 kB / 0.8066 GB, free: 18.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.063, allocations: 301.1 kB / 0.8069 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/1.065, allocations: 1.186 MB / 0.8081 GB, free: 18.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/1.068, allocations: 1.881 MB / 0.8099 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004389/1.072, allocations: 2.96 MB / 0.8128 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.072, allocations: 4.875 kB / 0.8128 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006587/1.079, allocations: 3.762 MB / 0.8165 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/1.079, allocations: 14.88 kB / 0.8165 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/1.079, allocations: 18.41 kB / 0.8165 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/1.081, allocations: 0.7319 MB / 0.8172 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/1.082, allocations: 428.1 kB / 0.8176 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/1.084, allocations: 2.762 MB / 0.8203 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/1.087, allocations: 256.9 kB / 0.8206 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/1.088, allocations: 151.7 kB / 0.8207 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003138/1.091, allocations: 1.67 MB / 0.8224 GB, free: 13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002041/1.093, allocations: 1.684 MB / 0.824 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003809/1.097, allocations: 2.576 MB / 0.8265 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.106e-05/1.097, allocations: 3.344 kB / 0.8265 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007319/1.104, allocations: 3.46 MB / 0.8299 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.104, allocations: 12 kB / 0.8299 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.104, allocations: 20 kB / 0.8299 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/1.107, allocations: 0.8625 MB / 0.8308 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.108, allocations: 396.8 kB / 0.8312 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/1.126, allocations: 13.81 MB / 0.8446 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.13, allocations: 191 kB / 0.8448 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000612/1.131, allocations: 136 kB / 0.845 GB, free: 10.25 MB / 0.6075 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 (203): * Single equations (assignments): 195 * 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.001018/1.132, allocations: 305.3 kB / 0.8452 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.133, allocations: 363.2 kB / 0.8456 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007307/1.14, allocations: 2.632 MB / 0.8482 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/1.14, allocations: 12 kB / 0.8482 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.14, allocations: 0 / 0.8482 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/1.14, allocations: 7.969 kB / 0.8482 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.152, allocations: 4.85 MB / 0.8529 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.152, allocations: 0 / 0.8529 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.154, allocations: 233.7 kB / 0.8531 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/1.155, allocations: 390.9 kB / 0.8535 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/1.155, allocations: 51.95 kB / 0.8536 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/1.157, allocations: 2.63 MB / 0.8561 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.157, allocations: 0 / 0.8561 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006166/1.163, allocations: 2.416 MB / 0.8585 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.165, allocations: 0.5975 MB / 0.8591 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.166, allocations: 28 kB / 0.8591 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/1.168, allocations: 99.73 kB / 0.8592 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.169, allocations: 85.19 kB / 0.8593 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.169, allocations: 67.95 kB / 0.8593 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004833/1.174, allocations: 2.333 MB / 0.8616 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/1.174, allocations: 0 / 0.8616 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007602/1.181, allocations: 1.781 MB / 0.8634 GB, free: 7.262 MB / 0.6231 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.002305/1.184, allocations: 0.7693 MB / 0.8641 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.195, allocations: 4.523 MB / 0.8685 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.195, allocations: 4.125 kB / 0.8685 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002449/1.198, allocations: 0.8882 MB / 0.8694 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009521/1.207, allocations: 1.76 MB / 0.8711 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.22, allocations: 6.223 MB / 0.8772 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/1.223, allocations: 2.251 MB / 0.8794 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.224, allocations: 291.3 kB / 0.8797 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/1.224, allocations: 0 / 0.8797 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.1513/1.375, allocations: 131.6 MB / 1.008 GB, free: 3.633 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)