Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",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.005913/0.005913, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.346/1.346, allocations: 222.9 MB / 239.4 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4699/0.4699, allocations: 78.52 MB / 418.4 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 79.86 kB / 0.5531 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.334, allocations: 68.17 MB / 0.6197 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.00498/0.3391, allocations: 6.189 MB / 0.6257 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.3424, allocations: 2.114 MB / 0.6278 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.3432, allocations: 8 kB / 0.6278 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.3439, allocations: 238.1 kB / 0.628 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.3467, allocations: 1.201 MB / 0.6292 GB, free: 440 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009509/0.3477, allocations: 483.8 kB / 0.6297 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.3501, allocations: 1.844 MB / 0.6315 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.3505, allocations: 211.4 kB / 0.6317 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.3515, allocations: 0.7084 MB / 0.6324 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.3525, allocations: 0.9534 MB / 0.6333 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.3527, allocations: 155.9 kB / 0.6334 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.3533, allocations: 311.9 kB / 0.6337 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.3537, allocations: 378.6 kB / 0.6341 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.3543, allocations: 0.68 MB / 0.6348 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.3562, allocations: 1.732 MB / 0.6365 GB, free: 8.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3562, allocations: 0 / 0.6365 GB, free: 8.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3562, allocations: 4 kB / 0.6365 GB, free: 8.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.184e-05/0.3563, allocations: 0 / 0.6365 GB, free: 8.969 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01523/0.3715, allocations: 3.753 MB / 0.6401 GB, free: 5.152 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3716, allocations: 8.031 kB / 0.6401 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.3717, allocations: 110.7 kB / 0.6402 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.3748, allocations: 0.4957 MB / 0.6407 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.3764, allocations: 0.9032 MB / 0.6416 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/0.3768, allocations: 222.2 kB / 0.6418 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.377, allocations: 87.95 kB / 0.6419 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.3789, allocations: 0.8926 MB / 0.6428 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3789, allocations: 0 / 0.6428 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.264e-05/0.379, allocations: 27.94 kB / 0.6428 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3791, allocations: 19.94 kB / 0.6428 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.3813, allocations: 0.985 MB / 0.6438 GB, free: 1.309 MB / 446.1 MB 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.00513/0.3864, allocations: 2.931 MB / 0.6466 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.3893, allocations: 1.09 MB / 0.6477 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.3907, allocations: 0.6624 MB / 0.6484 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.3908, allocations: 24.97 kB / 0.6484 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.3909, allocations: 43.5 kB / 0.6484 GB, free: 12.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.545e-06/0.3909, allocations: 0 / 0.6484 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02643/0.4173, allocations: 6.49 MB / 0.6548 GB, free: 5.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4174, allocations: 60.41 kB / 0.6548 GB, free: 5.816 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.4192, allocations: 1.141 MB / 0.6559 GB, free: 4.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000372/0.4196, allocations: 49.7 kB / 0.656 GB, free: 4.602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.42, allocations: 398.3 kB / 0.6564 GB, free: 4.207 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.4205, allocations: 372.8 kB / 0.6567 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006811/0.4212, allocations: 367.4 kB / 0.6571 GB, free: 3.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4213, allocations: 309.1 kB / 0.6574 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.4233, allocations: 0.9097 MB / 0.6582 GB, free: 2.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.4253, allocations: 0.9273 MB / 0.6591 GB, free: 1.332 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/0.4295, allocations: 1.813 MB / 0.6609 GB, free: 15.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4295, allocations: 4 kB / 0.6609 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007429/0.437, allocations: 3.052 MB / 0.6639 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.437, allocations: 4 kB / 0.6639 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.437, allocations: 0 / 0.6639 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008968/0.446, allocations: 2.28 MB / 0.6661 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.4477, allocations: 323.5 kB / 0.6664 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/0.453, allocations: 2.265 MB / 0.6687 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.4551, allocations: 206.8 kB / 0.6688 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/0.4554, allocations: 63.97 kB / 0.6689 GB, free: 7.289 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005686/0.456, allocations: 245.5 kB / 0.6691 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.4563, allocations: 119.2 kB / 0.6693 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.4674, allocations: 3.305 MB / 0.6725 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.4675, allocations: 15.94 kB / 0.6725 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4675, allocations: 0 / 0.6725 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/0.4676, allocations: 3.984 kB / 0.6725 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.4698, allocations: 1.214 MB / 0.6737 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.4698, allocations: 0 / 0.6737 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.4706, allocations: 115.8 kB / 0.6738 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005573/0.4762, allocations: 1.443 MB / 0.6752 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.4764, allocations: 20 kB / 0.6752 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.4965, allocations: 7.832 MB / 0.6829 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4966, allocations: 0 / 0.6829 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.5097, allocations: 4.144 MB / 0.6869 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.5102, allocations: 236 kB / 0.6871 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.5106, allocations: 20 kB / 0.6872 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.5119, allocations: 83.91 kB / 0.6872 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/0.5125, allocations: 176.8 kB / 0.6874 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.5126, allocations: 27.98 kB / 0.6874 GB, free: 4.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.5139, allocations: 0.7641 MB / 0.6882 GB, free: 3.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5139, allocations: 0 / 0.6882 GB, free: 3.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001539/0.5154, allocations: 435.7 kB / 0.6886 GB, free: 2.855 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/0.5278, allocations: 4.61 MB / 0.6931 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007228/0.5351, allocations: 2.367 MB / 0.6954 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5351, allocations: 4 kB / 0.6954 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004321/0.5394, allocations: 1.317 MB / 0.6967 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5406, allocations: 80.31 kB / 0.6968 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/0.5683, allocations: 13.39 MB / 0.7099 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.5691, allocations: 1.057 MB / 0.7109 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005891/0.5697, allocations: 103.6 kB / 0.711 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.5705, allocations: 427.3 kB / 0.7114 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.5705, allocations: 0 / 0.7114 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06751/0.638, allocations: 33.7 MB / 0.7443 GB, free: 9.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.13, allocations: 19.66 kB / 0.7443 GB, free: 9.781 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)