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.01068/0.01068, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.632/1.632, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.002125/0.002125, allocations: 184.5 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5308/0.5308, allocations: 78.54 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.88 kB / 0.5531 GB, free: 1.527 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4849, allocations: 68.17 MB / 0.6197 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006898/0.4918, allocations: 6.184 MB / 0.6257 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.4968, allocations: 2.118 MB / 0.6278 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.4976, allocations: 8 kB / 0.6278 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.4983, allocations: 242.1 kB / 0.628 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.5012, allocations: 1.165 MB / 0.6292 GB, free: 476 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.5022, allocations: 483.9 kB / 0.6296 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002658/0.5049, allocations: 1.848 MB / 0.6314 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.5053, allocations: 203.4 kB / 0.6316 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5065, allocations: 0.7122 MB / 0.6323 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.5078, allocations: 0.9534 MB / 0.6333 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.508, allocations: 144 kB / 0.6334 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.5088, allocations: 307.9 kB / 0.6337 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.5092, allocations: 386.5 kB / 0.6341 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007304/0.5099, allocations: 0.6878 MB / 0.6347 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.5123, allocations: 1.728 MB / 0.6364 GB, free: 9.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.5123, allocations: 3.984 kB / 0.6364 GB, free: 9.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5123, allocations: 0 / 0.6364 GB, free: 9.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.5123, allocations: 0 / 0.6364 GB, free: 9.008 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.016/0.5283, allocations: 3.751 MB / 0.6401 GB, free: 5.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.5284, allocations: 8.031 kB / 0.6401 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.5286, allocations: 106.7 kB / 0.6402 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.5317, allocations: 0.4996 MB / 0.6407 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.5335, allocations: 0.9071 MB / 0.6416 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.5338, allocations: 226.2 kB / 0.6418 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.534, allocations: 83.95 kB / 0.6419 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.5362, allocations: 0.8887 MB / 0.6427 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5363, allocations: 0 / 0.6427 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.5364, allocations: 27.94 kB / 0.6428 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.5364, allocations: 16 kB / 0.6428 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.5389, allocations: 0.9966 MB / 0.6438 GB, free: 1.344 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.006245/0.5451, allocations: 2.919 MB / 0.6466 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.5483, allocations: 1.101 MB / 0.6477 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.5498, allocations: 0.6582 MB / 0.6483 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.5499, allocations: 20.97 kB / 0.6483 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.55, allocations: 47.5 kB / 0.6484 GB, free: 12.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.056e-06/0.55, allocations: 4 kB / 0.6484 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02818/0.5782, allocations: 6.482 MB / 0.6547 GB, free: 5.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.5783, allocations: 64.41 kB / 0.6548 GB, free: 5.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.5804, allocations: 1.144 MB / 0.6559 GB, free: 4.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003272/0.5807, allocations: 45.7 kB / 0.6559 GB, free: 4.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.5811, allocations: 394.4 kB / 0.6563 GB, free: 4.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.5816, allocations: 380.8 kB / 0.6567 GB, free: 3.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007302/0.5823, allocations: 367.4 kB / 0.657 GB, free: 3.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5825, allocations: 305.1 kB / 0.6573 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.5846, allocations: 0.9058 MB / 0.6582 GB, free: 2.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.5867, allocations: 0.9429 MB / 0.6591 GB, free: 1.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.5907, allocations: 1.809 MB / 0.6609 GB, free: 15.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.5908, allocations: 0 / 0.6609 GB, free: 15.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007798/0.5986, allocations: 3.048 MB / 0.6639 GB, free: 12.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.5986, allocations: 8 kB / 0.6639 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5987, allocations: 4 kB / 0.6639 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00963/0.6083, allocations: 2.268 MB / 0.6661 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.6103, allocations: 319.5 kB / 0.6664 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/0.6164, allocations: 2.265 MB / 0.6686 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.619, allocations: 210.8 kB / 0.6688 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003918/0.6194, allocations: 59.98 kB / 0.6689 GB, free: 7.332 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.0008352/0.6202, allocations: 245.5 kB / 0.6691 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.6207, allocations: 127.2 kB / 0.6692 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.6329, allocations: 3.297 MB / 0.6724 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.6329, allocations: 11.94 kB / 0.6725 GB, free: 3.637 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.633, allocations: 3.984 kB / 0.6725 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/0.633, allocations: 3.984 kB / 0.6725 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.6356, allocations: 1.21 MB / 0.6737 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.6356, allocations: 4 kB / 0.6737 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.6365, allocations: 119.8 kB / 0.6738 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.6424, allocations: 1.439 MB / 0.6752 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.6426, allocations: 23.92 kB / 0.6752 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02208/0.6647, allocations: 7.828 MB / 0.6828 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6648, allocations: 0 / 0.6828 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.6792, allocations: 4.147 MB / 0.6869 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.68, allocations: 236 kB / 0.6871 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/0.6805, allocations: 23.98 kB / 0.6871 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6821, allocations: 79.92 kB / 0.6872 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/0.6829, allocations: 180.7 kB / 0.6874 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.683, allocations: 24 kB / 0.6874 GB, free: 4.098 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.6847, allocations: 0.7602 MB / 0.6882 GB, free: 3.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6847, allocations: 3.938 kB / 0.6882 GB, free: 3.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001924/0.6866, allocations: 443.7 kB / 0.6886 GB, free: 2.891 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.01416/0.7008, allocations: 4.601 MB / 0.6931 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008597/0.7094, allocations: 2.379 MB / 0.6954 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7095, allocations: 0 / 0.6954 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/0.7144, allocations: 1.317 MB / 0.6967 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.7163, allocations: 96.73 kB / 0.6968 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/0.7481, allocations: 13.37 MB / 0.7098 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7493, allocations: 1.057 MB / 0.7109 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.75, allocations: 103.6 kB / 0.711 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/0.751, allocations: 431.3 kB / 0.7114 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of SimCode: time 1.663e-06/0.751, allocations: 0 / 0.7114 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08816/0.8391, allocations: 33.69 MB / 0.7443 GB, free: 9.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.5, allocations: 16.81 kB / 0.7443 GB, free: 9.82 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)