Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001392/0.001392, allocations: 190 kB / 16.25 MB, free: 6.637 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9423/0.9423, allocations: 135.6 MB / 425.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 68.28 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.163, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm): time 0.9491/1.112, allocations: 319.7 MB / 0.8967 GB, free: 31.81 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02775/1.14, allocations: 20.04 MB / 0.9163 GB, free: 31.67 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004757/1.145, allocations: 80.5 kB / 0.9163 GB, free: 31.67 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00461/1.149, allocations: 1.322 MB / 0.9176 GB, free: 31.64 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/1.161, allocations: 3.945 MB / 0.9215 GB, free: 31.47 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006087/1.167, allocations: 2.108 MB / 0.9236 GB, free: 31.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009125/1.176, allocations: 5.789 MB / 0.9292 GB, free: 31.42 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/1.179, allocations: 2.212 MB / 0.9314 GB, free: 31.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/1.186, allocations: 3.117 MB / 0.9344 GB, free: 31.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/1.191, allocations: 1.965 MB / 0.9363 GB, free: 30.9 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006862/1.191, allocations: 241.5 kB / 0.9366 GB, free: 30.9 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007945/1.199, allocations: 3.927 MB / 0.9404 GB, free: 30.87 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/1.201, allocations: 0.9497 MB / 0.9413 GB, free: 30.76 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/1.203, allocations: 1.411 MB / 0.9427 GB, free: 30.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008203/1.211, allocations: 5.287 MB / 0.9479 GB, free: 29.78 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.211, allocations: 0 / 0.9479 GB, free: 29.78 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/1.211, allocations: 2.625 kB / 0.9479 GB, free: 29.78 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.529e-05/1.211, allocations: 4 kB / 0.9479 GB, free: 29.77 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005768/1.217, allocations: 3.122 MB / 0.9509 GB, free: 28.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.217, allocations: 9.062 kB / 0.9509 GB, free: 28.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/1.223, allocations: 0.851 MB / 0.9518 GB, free: 28.06 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/1.227, allocations: 2.109 MB / 0.9538 GB, free: 27.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/1.227, allocations: 117.6 kB / 0.9539 GB, free: 27.06 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.227, allocations: 157.5 kB / 0.9541 GB, free: 27.06 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/1.23, allocations: 1.711 MB / 0.9558 GB, free: 26.33 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.23, allocations: 0 / 0.9558 GB, free: 26.33 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.23, allocations: 60.5 kB / 0.9558 GB, free: 26.29 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/1.23, allocations: 50.91 kB / 0.9559 GB, free: 26.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/1.232, allocations: 1.345 MB / 0.9572 GB, free: 25.62 MB / 0.67 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.00776/1.24, allocations: 7.711 MB / 0.9647 GB, free: 19.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/1.242, allocations: 0.9854 MB / 0.9657 GB, free: 18.54 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009735/1.243, allocations: 0.5442 MB / 0.9662 GB, free: 18.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/1.243, allocations: 107.6 kB / 0.9663 GB, free: 18.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/1.243, allocations: 40.47 kB / 0.9663 GB, free: 18.14 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008577/1.244, allocations: 119.6 kB / 0.9665 GB, free: 18.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=81): time 2.635e-06/1.244, allocations: 0 / 0.9665 GB, free: 18.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=81): time 0.004466/1.249, allocations: 1.851 MB / 0.9683 GB, free: 17.04 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/1.249, allocations: 57.66 kB / 0.9683 GB, free: 16.97 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.251, allocations: 1.86 MB / 0.9701 GB, free: 15.96 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/1.251, allocations: 53.3 kB / 0.9702 GB, free: 15.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/1.251, allocations: 1.014 MB / 0.9712 GB, free: 15.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/1.251, allocations: 282.6 kB / 0.9714 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/1.252, allocations: 248.3 kB / 0.9717 GB, free: 14.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/1.252, allocations: 354.3 kB / 0.972 GB, free: 14.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/1.253, allocations: 0.5459 MB / 0.9725 GB, free: 14.03 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.254, allocations: 0.9442 MB / 0.9735 GB, free: 13.24 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/1.256, allocations: 1.435 MB / 0.9749 GB, free: 11.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.256, allocations: 0 / 0.9749 GB, free: 11.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002829/1.259, allocations: 1.798 MB / 0.9766 GB, free: 9.984 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.259, allocations: 16.22 kB / 0.9766 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.259, allocations: 12 kB / 0.9767 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/1.26, allocations: 274.2 kB / 0.9769 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.261, allocations: 256.3 kB / 0.9772 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.262, allocations: 1.871 MB / 0.979 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.263, allocations: 127.9 kB / 0.9791 GB, free: 7.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.263, allocations: 68.75 kB / 0.9792 GB, free: 7.324 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.265, allocations: 0.9164 MB / 0.9801 GB, free: 6.406 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008482/1.266, allocations: 0.8701 MB / 0.9809 GB, free: 5.363 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001526/1.267, allocations: 1.288 MB / 0.9822 GB, free: 3.988 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.267, allocations: 4 kB / 0.9822 GB, free: 3.984 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002755/1.27, allocations: 1.681 MB / 0.9838 GB, free: 2.352 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.27, allocations: 12.28 kB / 0.9838 GB, free: 2.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.27, allocations: 8 kB / 0.9838 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.271, allocations: 302.9 kB / 0.9841 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/1.272, allocations: 231.1 kB / 0.9844 GB, free: 1.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/1.276, allocations: 3.779 MB / 0.988 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.278, allocations: 134 kB / 0.9882 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.278, allocations: 66.41 kB / 0.9882 GB, free: 13.63 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,7), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003913/1.279, allocations: 251.6 kB / 0.9885 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/1.279, allocations: 197.5 kB / 0.9887 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/1.282, allocations: 1.349 MB / 0.99 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.282, allocations: 8 kB / 0.99 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.282, allocations: 0 / 0.99 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002392/1.285, allocations: 1.159 MB / 0.9911 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/1.29, allocations: 3.006 MB / 0.9941 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.29, allocations: 0 / 0.9941 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009954/1.291, allocations: 187.5 kB / 0.9942 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/1.292, allocations: 183.2 kB / 0.9944 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/1.292, allocations: 27.92 kB / 0.9944 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/1.293, allocations: 1.825 MB / 0.9962 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.293, allocations: 4.109 kB / 0.9962 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/1.297, allocations: 1.937 MB / 0.9981 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/1.298, allocations: 366.3 kB / 0.9985 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/1.299, allocations: 27.98 kB / 0.9985 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.3, allocations: 97.23 kB / 0.9986 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.3, allocations: 60.86 kB / 0.9986 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/1.3, allocations: 31.98 kB / 0.9987 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001866/1.302, allocations: 1.261 MB / 0.9999 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.302, allocations: 0 / 0.9999 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00296/1.305, allocations: 1.107 MB / 1.001 GB, free: 368 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,5), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/1.306, allocations: 482.5 kB / 1.001 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005216/1.311, allocations: 2.144 MB / 1.004 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.311, allocations: 0 / 1.004 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.313, allocations: 0.543 MB / 1.004 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/1.317, allocations: 1.114 MB / 1.005 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008929/1.326, allocations: 4.476 MB / 1.01 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/1.328, allocations: 1.61 MB / 1.011 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002816/1.331, allocations: 0.5054 MB / 1.012 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/1.331, allocations: 155.4 kB / 1.012 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of SimCode: time 1.012e-06/1.331, allocations: 0 / 1.012 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of Templates: time 0.08159/1.413, allocations: 45.1 MB / 1.056 GB, free: 8.988 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)