Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.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_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",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.0049/0.0049, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001278/0.001278, allocations: 188.5 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 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8348/0.8348, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.64 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1574, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.SpeedControlled_y): time 0.7878/0.9453, allocations: 323.4 MB / 0.9751 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03726/0.9826, allocations: 20.17 MB / 0.9948 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.9869, allocations: 87.5 kB / 0.9948 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00517/0.9921, allocations: 1.48 MB / 0.9963 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/1.005, allocations: 4.208 MB / 1 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006693/1.011, allocations: 2.305 MB / 1.003 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009851/1.021, allocations: 5.778 MB / 1.008 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/1.026, allocations: 2.218 MB / 1.01 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008467/1.034, allocations: 3.094 MB / 1.013 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005329/1.04, allocations: 1.823 MB / 1.015 GB, free: 9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001196/1.041, allocations: 236 kB / 1.015 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.051, allocations: 3.808 MB / 1.019 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002041/1.053, allocations: 0.927 MB / 1.02 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003844/1.057, allocations: 1.403 MB / 1.021 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01339/1.071, allocations: 5.116 MB / 1.026 GB, free: 13.48 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.071, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.395e-06/1.071, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001638/1.071, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.795 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.009861/1.081, allocations: 3.205 MB / 1.03 GB, free: 10.21 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/1.081, allocations: 8.031 kB / 1.03 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007572/1.082, allocations: 206.8 kB / 1.03 GB, free: 9.988 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006477/1.088, allocations: 0.8645 MB / 1.031 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007061/1.095, allocations: 2.185 MB / 1.033 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/1.096, allocations: 114.8 kB / 1.033 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006944/1.096, allocations: 163.8 kB / 1.033 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/1.102, allocations: 1.698 MB / 1.035 GB, free: 4.824 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-05/1.102, allocations: 4 kB / 1.035 GB, free: 4.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/1.102, allocations: 60 kB / 1.035 GB, free: 4.762 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-05/1.103, allocations: 50.64 kB / 1.035 GB, free: 4.711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/1.107, allocations: 1.302 MB / 1.036 GB, free: 3.402 MB / 0.795 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.0161/1.123, allocations: 7.888 MB / 1.044 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/1.126, allocations: 0.913 MB / 1.045 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.128, allocations: 0.5461 MB / 1.045 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/1.128, allocations: 105.8 kB / 1.045 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/1.128, allocations: 43.22 kB / 1.045 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 6.973e-06/1.128, allocations: 0 / 1.045 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.006329/1.134, allocations: 1.773 MB / 1.047 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.134, allocations: 60.06 kB / 1.047 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/1.138, allocations: 1.864 MB / 1.049 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/1.139, allocations: 45.7 kB / 1.049 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/1.14, allocations: 1.033 MB / 1.05 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000539/1.141, allocations: 281.5 kB / 1.05 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006763/1.141, allocations: 246.8 kB / 1.051 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.142, allocations: 345.9 kB / 1.051 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/1.143, allocations: 0.5291 MB / 1.051 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.145, allocations: 0.9274 MB / 1.052 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/1.148, allocations: 1.388 MB / 1.054 GB, free: 396 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/1.148, allocations: 4 kB / 1.054 GB, free: 392 kB / 0.8106 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.3755/1.523, allocations: 1.737 MB / 1.055 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/1.523, allocations: 9.562 kB / 1.055 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.523, allocations: 13.12 kB / 1.055 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009665/1.524, allocations: 265.8 kB / 1.056 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.526, allocations: 251 kB / 1.056 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/1.527, allocations: 1.873 MB / 1.058 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.528, allocations: 135.7 kB / 1.058 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/1.529, allocations: 67.42 kB / 1.058 GB, free: 315.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002183/1.531, allocations: 0.9016 MB / 1.059 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001217/1.532, allocations: 0.8489 MB / 1.06 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002288/1.534, allocations: 1.242 MB / 1.061 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.38e-05/1.534, allocations: 2.781 kB / 1.061 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.004235/1.539, allocations: 1.64 MB / 1.062 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/1.539, allocations: 14.48 kB / 1.062 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/1.539, allocations: 9.094 kB / 1.062 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.54, allocations: 306 kB / 1.063 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.541, allocations: 218.6 kB / 1.063 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/1.547, allocations: 3.749 MB / 1.067 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.549, allocations: 109.7 kB / 1.067 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/1.549, allocations: 58.58 kB / 1.067 GB, free: 310.8 MB / 0.8106 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.0003958/1.549, allocations: 252.6 kB / 1.067 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.55, allocations: 211.5 kB / 1.067 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/1.553, allocations: 1.282 MB / 1.068 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.553, allocations: 8.25 kB / 1.068 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.553, allocations: 0 / 1.068 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/1.556, allocations: 1.087 MB / 1.07 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/1.562, allocations: 2.945 MB / 1.072 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.562, allocations: 2.172 kB / 1.072 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/1.563, allocations: 181.7 kB / 1.073 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/1.564, allocations: 171.9 kB / 1.073 GB, free: 308 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/1.564, allocations: 33.23 kB / 1.073 GB, free: 308 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008738/1.565, allocations: 1.824 MB / 1.075 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.565, allocations: 1.734 kB / 1.075 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/1.569, allocations: 1.855 MB / 1.076 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008123/1.57, allocations: 383.6 kB / 1.077 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.57, allocations: 17.92 kB / 1.077 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009824/1.571, allocations: 44.73 kB / 1.077 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.571, allocations: 51.95 kB / 1.077 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/1.571, allocations: 31.16 kB / 1.077 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002275/1.574, allocations: 1.268 MB / 1.078 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/1.574, allocations: 1.156 kB / 1.078 GB, free: 304.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00347/1.577, allocations: 1.099 MB / 1.079 GB, free: 304.5 MB / 0.8106 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.005232/1.582, allocations: 2.712 MB / 1.082 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004987/1.587, allocations: 2.003 MB / 1.084 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.587, allocations: 0 / 1.084 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.589, allocations: 0.505 MB / 1.084 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/1.594, allocations: 1.105 MB / 1.085 GB, free: 302 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/1.62, allocations: 15.23 MB / 1.1 GB, free: 292.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.622, allocations: 1.602 MB / 1.102 GB, free: 291.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002034/1.624, allocations: 0.4927 MB / 1.102 GB, free: 290.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.625, allocations: 0.8741 MB / 1.103 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/1.625, allocations: 3.281 kB / 1.103 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.739, allocations: 60.76 MB / 1.162 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/17.27, allocations: 5.344 kB / 1.162 GB, free: 229.4 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)