Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8533/0.8533, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2479/0.2479, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.939e-05, allocations: 6.281 kB / 0.5549 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004604/0.004623, allocations: 5.49 MB / 0.5603 GB, free: 7.113 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.007562, allocations: 2.04 MB / 0.5623 GB, free: 5.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005814/0.008143, allocations: 8 kB / 0.5623 GB, free: 5.062 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.008587, allocations: 242 kB / 0.5625 GB, free: 4.824 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01031, allocations: 0.9202 MB / 0.5634 GB, free: 3.902 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.0111, allocations: 0.5636 MB / 0.564 GB, free: 3.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.01245, allocations: 1.713 MB / 0.5656 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.01271, allocations: 136 kB / 0.5658 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008628/0.01357, allocations: 0.9469 MB / 0.5667 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.01421, allocations: 0.7595 MB / 0.5674 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.01438, allocations: 148 kB / 0.5676 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.01484, allocations: 307.8 kB / 0.5679 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.01504, allocations: 370.5 kB / 0.5682 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.01535, allocations: 498.5 kB / 0.5687 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.01691, allocations: 1.783 MB / 0.5704 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01691, allocations: 7.938 kB / 0.5704 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.01692, allocations: 0 / 0.5704 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.589e-05/0.01694, allocations: 0 / 0.5704 GB, free: 12.67 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006175/0.02312, allocations: 3.1 MB / 0.5735 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.02316, allocations: 12.03 kB / 0.5735 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.02326, allocations: 106.7 kB / 0.5736 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.02478, allocations: 0.4996 MB / 0.5741 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.02586, allocations: 0.8463 MB / 0.5749 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.02607, allocations: 286 kB / 0.5752 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.0262, allocations: 87.95 kB / 0.5753 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.02743, allocations: 0.9043 MB / 0.5761 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.02745, allocations: 3.938 kB / 0.5761 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.0275, allocations: 24 kB / 0.5762 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.02752, allocations: 16 kB / 0.5762 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.0289, allocations: 1.005 MB / 0.5772 GB, free: 5.652 MB / 0.4948 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.003224/0.03213, allocations: 2.148 MB / 0.5793 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.03377, allocations: 1.043 MB / 0.5803 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.03458, allocations: 0.6167 MB / 0.5809 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.03465, allocations: 17 kB / 0.5809 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.03468, allocations: 39.56 kB / 0.5809 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.03468, allocations: 0 / 0.5809 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01297/0.04766, allocations: 6.101 MB / 0.5869 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.0477, allocations: 64.41 kB / 0.587 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.04893, allocations: 1.137 MB / 0.5881 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.04912, allocations: 49.7 kB / 0.5881 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.04935, allocations: 402.3 kB / 0.5885 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.04966, allocations: 380.8 kB / 0.5889 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/0.05008, allocations: 363.4 kB / 0.5892 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.05015, allocations: 301.1 kB / 0.5895 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.05133, allocations: 0.9214 MB / 0.5904 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.05252, allocations: 0.9507 MB / 0.5913 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.05499, allocations: 1.836 MB / 0.5931 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.05499, allocations: 0 / 0.5931 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.004564/0.05956, allocations: 3.224 MB / 0.5963 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.05958, allocations: 4 kB / 0.5963 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.05959, allocations: 3.984 kB / 0.5963 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1885/0.2481, allocations: 2.325 MB / 0.5985 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.2491, allocations: 328 kB / 0.5989 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.2522, allocations: 2.289 MB / 0.6011 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.2535, allocations: 207 kB / 0.6013 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-05/0.2536, allocations: 63.67 kB / 0.6013 GB, free: 91.92 MB / 0.5105 GB 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 (191): * Single equations (assignments): 190 * 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.0003368/0.2539, allocations: 248.2 kB / 0.6016 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2541, allocations: 126.4 kB / 0.6017 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.2594, allocations: 3.343 MB / 0.605 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.2594, allocations: 12.83 kB / 0.605 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2594, allocations: 0 / 0.605 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.2595, allocations: 6.469 kB / 0.605 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.2605, allocations: 0.8748 MB / 0.6058 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2605, allocations: 8.188 kB / 0.6058 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.2608, allocations: 115.3 kB / 0.606 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.2635, allocations: 1.495 MB / 0.6074 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.131e-05/0.2636, allocations: 26.64 kB / 0.6074 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.275, allocations: 7.714 MB / 0.615 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.275, allocations: 0.75 kB / 0.615 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007371/0.2824, allocations: 4.178 MB / 0.6191 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.2828, allocations: 162 kB / 0.6192 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2829, allocations: 22.34 kB / 0.6192 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.2836, allocations: 95.55 kB / 0.6193 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004677/0.284, allocations: 183.5 kB / 0.6195 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.2841, allocations: 23.5 kB / 0.6195 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007508/0.2848, allocations: 0.7599 MB / 0.6203 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.2848, allocations: 1.281 kB / 0.6203 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009944/0.2858, allocations: 445.2 kB / 0.6207 GB, free: 84.84 MB / 0.5105 GB 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 (64): * Single equations (assignments): 63 * 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.007227/0.293, allocations: 4.656 MB / 0.6252 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004318/0.2974, allocations: 2.24 MB / 0.6274 GB, free: 82.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2974, allocations: 0 / 0.6274 GB, free: 82.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.2998, allocations: 1.291 MB / 0.6287 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.3006, allocations: 97.45 kB / 0.6288 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.3186, allocations: 13.92 MB / 0.6424 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3188, allocations: 475.3 kB / 0.6428 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.3192, allocations: 107.8 kB / 0.6429 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.3196, allocations: 432.4 kB / 0.6433 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/0.3196, allocations: 0 / 0.6433 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.3565, allocations: 35.25 MB / 0.6778 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.578, allocations: 4.062 kB / 0.6778 GB, free: 39.4 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.851939424872398] Failed to read output from testmodel.py, exit status != 0: 8.683865792118013 8.689861083 8.671421648 Calling exit ...