Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01241/0.01241, allocations: 99.89 kB / 15.73 MB, free: 6.027 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.002739/0.002739, allocations: 187 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.413/2.413, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.363/1.363, allocations: 132.2 MB / 422.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 67.97 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2685, allocations: 80.22 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm): time 1.335/1.604, allocations: 323.4 MB / 0.9751 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0532/1.657, allocations: 20.16 MB / 0.9948 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005736/1.663, allocations: 87.5 kB / 0.9948 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007064/1.67, allocations: 1.488 MB / 0.9963 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02057/1.69, allocations: 4.206 MB / 1 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01177/1.702, allocations: 2.299 MB / 1.003 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01571/1.718, allocations: 5.782 MB / 1.008 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009317/1.727, allocations: 2.213 MB / 1.01 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/1.743, allocations: 3.161 MB / 1.014 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006231/1.749, allocations: 1.819 MB / 1.015 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001446/1.75, allocations: 236 kB / 1.016 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/1.765, allocations: 3.808 MB / 1.019 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002933/1.768, allocations: 0.9309 MB / 1.02 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005239/1.773, allocations: 1.396 MB / 1.022 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02151/1.795, allocations: 5.107 MB / 1.027 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/1.795, allocations: 0 / 1.027 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.134e-06/1.795, allocations: 0 / 1.027 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002078/1.795, allocations: 0 / 1.027 GB, free: 8.094 MB / 0.7481 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.01512/1.81, allocations: 3.104 MB / 1.03 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.548e-05/1.81, allocations: 12.03 kB / 1.03 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/1.811, allocations: 206.8 kB / 1.03 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.822, allocations: 0.8474 MB / 1.031 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009932/1.832, allocations: 2.175 MB / 1.033 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/1.832, allocations: 114.8 kB / 1.033 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008317/1.833, allocations: 156 kB / 1.033 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007283/1.84, allocations: 1.698 MB / 1.035 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.589e-05/1.84, allocations: 7.938 kB / 1.035 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/1.841, allocations: 60 kB / 1.035 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/1.841, allocations: 46.64 kB / 1.035 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/1.847, allocations: 1.314 MB / 1.036 GB, free: 14.14 MB / 0.7637 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.02096/1.868, allocations: 7.859 MB / 1.044 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/1.872, allocations: 0.9284 MB / 1.045 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/1.874, allocations: 0.5344 MB / 1.045 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/1.875, allocations: 121.7 kB / 1.045 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/1.875, allocations: 43.16 kB / 1.045 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=77): time 5.381e-06/1.875, allocations: 0 / 1.045 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=77): time 0.008654/1.884, allocations: 1.756 MB / 1.047 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/1.884, allocations: 60.06 kB / 1.047 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/1.89, allocations: 1.864 MB / 1.049 GB, free: 260 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.89, allocations: 49.64 kB / 1.049 GB, free: 204 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.892, allocations: 1.016 MB / 1.05 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005643/1.892, allocations: 268.1 kB / 1.05 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/1.893, allocations: 246.7 kB / 1.05 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.893, allocations: 341.9 kB / 1.051 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/1.895, allocations: 0.533 MB / 1.051 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.898, allocations: 0.9197 MB / 1.052 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004396/1.902, allocations: 1.388 MB / 1.054 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.902, allocations: 4 kB / 1.054 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.006191/1.908, allocations: 1.738 MB / 1.055 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.908, allocations: 11.94 kB / 1.055 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/1.908, allocations: 8 kB / 1.055 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/1.91, allocations: 267.2 kB / 1.055 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/1.912, allocations: 244.7 kB / 1.056 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/1.914, allocations: 1.866 MB / 1.058 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/1.917, allocations: 139 kB / 1.058 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/1.917, allocations: 67.97 kB / 1.058 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003016/1.92, allocations: 0.9007 MB / 1.059 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00209/1.922, allocations: 0.8494 MB / 1.059 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003398/1.926, allocations: 1.244 MB / 1.061 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-05/1.926, allocations: 7.938 kB / 1.061 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.006066/1.932, allocations: 1.633 MB / 1.062 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/1.932, allocations: 8 kB / 1.062 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.932, allocations: 8 kB / 1.062 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/1.934, allocations: 301.8 kB / 1.063 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.935, allocations: 223.6 kB / 1.063 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008935/1.944, allocations: 3.753 MB / 1.066 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.947, allocations: 99.23 kB / 1.067 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/1.947, allocations: 59.98 kB / 1.067 GB, free: 13.1 MB / 0.795 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 (116): * Single equations (assignments): 111 * 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.0007689/1.948, allocations: 252.5 kB / 1.067 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009623/1.949, allocations: 201.5 kB / 1.067 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/1.954, allocations: 1.281 MB / 1.068 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.955, allocations: 8 kB / 1.068 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.955, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003927/1.958, allocations: 1.091 MB / 1.069 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.969, allocations: 2.943 MB / 1.072 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.969, allocations: 7.875 kB / 1.072 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.97, allocations: 175.9 kB / 1.072 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008957/1.971, allocations: 177.5 kB / 1.073 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.971, allocations: 23.97 kB / 1.073 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/1.973, allocations: 1.827 MB / 1.074 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.973, allocations: 0 / 1.074 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/1.98, allocations: 1.836 MB / 1.076 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.982, allocations: 378.2 kB / 1.077 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006203/1.982, allocations: 16 kB / 1.077 GB, free: 2.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.984, allocations: 43.95 kB / 1.077 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.984, allocations: 52.59 kB / 1.077 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.984, allocations: 35.97 kB / 1.077 GB, free: 2.473 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003804/1.988, allocations: 1.269 MB / 1.078 GB, free: 1.188 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/1.988, allocations: 0 / 1.078 GB, free: 1.188 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005328/1.994, allocations: 1.095 MB / 1.079 GB, free: 92 kB / 0.795 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 (69): * Single equations (assignments): 66 * 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.008506/2.002, allocations: 2.687 MB / 1.082 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007552/2.01, allocations: 2.003 MB / 1.084 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/2.01, allocations: 4.062 kB / 1.084 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/2.012, allocations: 0.5036 MB / 1.084 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/2.02, allocations: 1.104 MB / 1.085 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05046/2.071, allocations: 15.15 MB / 1.1 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/2.073, allocations: 1.609 MB / 1.102 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003481/2.077, allocations: 0.4897 MB / 1.102 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/2.079, allocations: 0.8663 MB / 1.103 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of SimCode: time 1.753e-06/2.079, allocations: 0 / 1.103 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.708/2.787, allocations: 61.83 MB / 1.163 GB, free: 345.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.92/30.71, allocations: 9.609 kB / 1.163 GB, free: 345.8 MB / 0.8575 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)