Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09323/0.09323, allocations: 12.36 MB / 28.71 MB, free: 0.6055 MB / 19.63 MB " [Timeout remaining time 180] 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.00132/0.00132, allocations: 111.2 kB / 34.42 MB, free: 1.684 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.6 MB / 247.6 MB, free: 11.42 MB / 206.1 MB " [Timeout remaining time 178] 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.002284/0.002284, allocations: 216.4 kB / 302.5 MB, free: 6.172 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4859/0.4859, allocations: 79.72 MB / 436.9 MB, free: 4.602 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003923/0.003923, allocations: 135.8 kB / 0.5819 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1373, allocations: 71.92 MB / 0.6521 GB, free: 156 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.007861/0.1452, allocations: 6.216 MB / 0.6582 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.1497, allocations: 2.181 MB / 0.6603 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.1504, allocations: 8 kB / 0.6603 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.151, allocations: 234.1 kB / 0.6605 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.154, allocations: 1.214 MB / 0.6617 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.155, allocations: 486.7 kB / 0.6622 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.1574, allocations: 1.84 MB / 0.664 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.1578, allocations: 143.2 kB / 0.6641 GB, free: 3.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1588, allocations: 0.7279 MB / 0.6648 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1599, allocations: 0.9612 MB / 0.6658 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.1602, allocations: 148 kB / 0.6659 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.1608, allocations: 319.8 kB / 0.6662 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.1611, allocations: 378.6 kB / 0.6666 GB, free: 1.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.1618, allocations: 0.6877 MB / 0.6673 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.1638, allocations: 1.728 MB / 0.6689 GB, free: 14.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1638, allocations: 0 / 0.6689 GB, free: 14.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1638, allocations: 0 / 0.6689 GB, free: 14.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1638, allocations: 3.938 kB / 0.6689 GB, free: 14.84 MB / 478.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.0156/0.1794, allocations: 3.757 MB / 0.6726 GB, free: 11.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1794, allocations: 11.98 kB / 0.6726 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.1796, allocations: 106.7 kB / 0.6727 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.1828, allocations: 0.4957 MB / 0.6732 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.185, allocations: 0.9033 MB / 0.6741 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.1854, allocations: 230.2 kB / 0.6743 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.1856, allocations: 83.98 kB / 0.6744 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.188, allocations: 0.8848 MB / 0.6753 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.188, allocations: 0 / 0.6753 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.1881, allocations: 24 kB / 0.6753 GB, free: 8.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1881, allocations: 20 kB / 0.6753 GB, free: 8.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.1907, allocations: 0.9889 MB / 0.6763 GB, free: 7.184 MB / 478.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.006104/0.1968, allocations: 2.923 MB / 0.6791 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.1998, allocations: 1.035 MB / 0.6801 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.2013, allocations: 0.6011 MB / 0.6807 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.2014, allocations: 16.98 kB / 0.6807 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2014, allocations: 43.56 kB / 0.6808 GB, free: 2.414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.515e-06/0.2014, allocations: 0 / 0.6808 GB, free: 2.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02799/0.2294, allocations: 6.455 MB / 0.6871 GB, free: 11.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.2295, allocations: 60.41 kB / 0.6871 GB, free: 11.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.2313, allocations: 1.144 MB / 0.6883 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002367/0.2316, allocations: 45.7 kB / 0.6883 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.2319, allocations: 398.3 kB / 0.6887 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/0.2324, allocations: 392.8 kB / 0.6891 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006853/0.2331, allocations: 363.4 kB / 0.6894 GB, free: 9.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2332, allocations: 305.1 kB / 0.6897 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.2353, allocations: 0.9019 MB / 0.6906 GB, free: 8.285 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.2374, allocations: 0.9429 MB / 0.6915 GB, free: 7.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003911/0.2413, allocations: 1.813 MB / 0.6933 GB, free: 5.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2414, allocations: 0 / 0.6933 GB, free: 5.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007528/0.2489, allocations: 3.013 MB / 0.6962 GB, free: 2.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2489, allocations: 7.984 kB / 0.6962 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2489, allocations: 4 kB / 0.6962 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009389/0.2583, allocations: 2.268 MB / 0.6984 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2736/0.5319, allocations: 313.7 kB / 0.6987 GB, free: 43.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.5376, allocations: 2.274 MB / 0.701 GB, free: 42.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.5399, allocations: 201 kB / 0.7011 GB, free: 42.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.5401, allocations: 61.56 kB / 0.7012 GB, free: 42.55 MB / 494.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.0004807/0.5406, allocations: 245.7 kB / 0.7014 GB, free: 42.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.5409, allocations: 123 kB / 0.7016 GB, free: 42.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.5528, allocations: 3.277 MB / 0.7048 GB, free: 42.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.5528, allocations: 10.19 kB / 0.7048 GB, free: 42.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5528, allocations: 0.8438 kB / 0.7048 GB, free: 42.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/0.5528, allocations: 8.594 kB / 0.7048 GB, free: 42.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.5549, allocations: 1.216 MB / 0.706 GB, free: 41.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5549, allocations: 1.531 kB / 0.706 GB, free: 41.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.5556, allocations: 107.2 kB / 0.7061 GB, free: 41.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/0.5616, allocations: 1.441 MB / 0.7075 GB, free: 41.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.5617, allocations: 25.28 kB / 0.7075 GB, free: 41.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/0.5822, allocations: 7.834 MB / 0.7151 GB, free: 37.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5822, allocations: 0 / 0.7151 GB, free: 37.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.5945, allocations: 4.111 MB / 0.7192 GB, free: 36.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/0.595, allocations: 234.5 kB / 0.7194 GB, free: 36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.5952, allocations: 28.31 kB / 0.7194 GB, free: 35.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5964, allocations: 84.47 kB / 0.7195 GB, free: 35.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/0.597, allocations: 174.6 kB / 0.7197 GB, free: 35.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.5971, allocations: 29.78 kB / 0.7197 GB, free: 35.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.5981, allocations: 0.7569 MB / 0.7204 GB, free: 35.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5981, allocations: 0 / 0.7204 GB, free: 35.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001338/0.5995, allocations: 441.2 kB / 0.7208 GB, free: 35.52 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.01195/0.6114, allocations: 4.568 MB / 0.7253 GB, free: 33.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006614/0.618, allocations: 2.185 MB / 0.7274 GB, free: 32.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.618, allocations: 0 / 0.7274 GB, free: 32.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.6222, allocations: 1.25 MB / 0.7287 GB, free: 31.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.6234, allocations: 88.12 kB / 0.7287 GB, free: 31.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.6452, allocations: 13.32 MB / 0.7418 GB, free: 20.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.6456, allocations: 1.057 MB / 0.7428 GB, free: 19.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004632/0.646, allocations: 103.6 kB / 0.7429 GB, free: 18.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.6466, allocations: 427.3 kB / 0.7433 GB, free: 18.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.914e-06/0.6466, allocations: 0 / 0.7433 GB, free: 18.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07083/0.7174, allocations: 34.12 MB / 0.7766 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.46, allocations: 7.578 kB / 0.7766 GB, free: 0.5742 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.025118038000073] Failed to read output from testmodel.py, exit status != 0: 14.571465001994511 14.587652592 14.420511636 Calling exit ...