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.001231/0.001231, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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 1.456/1.456, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001646/0.001646, allocations: 208 kB / 310 MB, free: 3.145 MB / 238.1 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.5903/0.5903, allocations: 101.3 MB / 467.8 MB, free: 30.66 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002335/0.002335, allocations: 81.22 kB / 0.6251 GB, free: 33.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1402, allocations: 78.62 MB / 0.7019 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.007548/0.1477, allocations: 6.291 MB / 0.7081 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.1519, allocations: 2.161 MB / 0.7102 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.1525, allocations: 8 kB / 0.7102 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.153, allocations: 234 kB / 0.7104 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1551, allocations: 0.9321 MB / 0.7113 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1563, allocations: 0.5721 MB / 0.7119 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.1583, allocations: 1.68 MB / 0.7135 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1586, allocations: 148.1 kB / 0.7136 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009096/0.1595, allocations: 0.7005 MB / 0.7143 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1606, allocations: 0.934 MB / 0.7152 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.1609, allocations: 144 kB / 0.7154 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.1615, allocations: 327.8 kB / 0.7157 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.1618, allocations: 378.6 kB / 0.7161 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006524/0.1625, allocations: 0.6722 MB / 0.7167 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.1648, allocations: 1.716 MB / 0.7184 GB, free: 144 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1648, allocations: 0 / 0.7184 GB, free: 144 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1648, allocations: 0 / 0.7184 GB, free: 144 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.1648, allocations: 4 kB / 0.7184 GB, free: 140 kB / 494.1 MB 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.01274/0.1775, allocations: 3.116 MB / 0.7214 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1776, allocations: 12.03 kB / 0.7214 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.39e-05/0.1776, allocations: 17.5 kB / 0.7215 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.1778, allocations: 110.7 kB / 0.7216 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.1811, allocations: 0.4957 MB / 0.722 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.1828, allocations: 0.8466 MB / 0.7229 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.1832, allocations: 281.6 kB / 0.7231 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.1834, allocations: 80 kB / 0.7232 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.1856, allocations: 0.9043 MB / 0.7241 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.1856, allocations: 3.938 kB / 0.7241 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.1857, allocations: 24 kB / 0.7241 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.1857, allocations: 16 kB / 0.7241 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.1883, allocations: 1.008 MB / 0.7251 GB, free: 9.094 MB / 0.4981 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.005916/0.1942, allocations: 2.905 MB / 0.728 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.1973, allocations: 1.057 MB / 0.729 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.1989, allocations: 0.6089 MB / 0.7296 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.199, allocations: 20.98 kB / 0.7296 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.199, allocations: 43.55 kB / 0.7297 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.625e-06/0.1991, allocations: 4 kB / 0.7297 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02662/0.2257, allocations: 6.089 MB / 0.7356 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.2257, allocations: 60.41 kB / 0.7357 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.2276, allocations: 1.141 MB / 0.7368 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.2279, allocations: 49.7 kB / 0.7368 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.2282, allocations: 394.4 kB / 0.7372 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.2287, allocations: 384.8 kB / 0.7376 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007344/0.2294, allocations: 371.4 kB / 0.7379 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2296, allocations: 309.1 kB / 0.7382 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.2318, allocations: 0.9214 MB / 0.7391 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.234, allocations: 0.9507 MB / 0.74 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/0.2382, allocations: 1.832 MB / 0.7418 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/0.2383, allocations: 0 / 0.7418 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008591/0.2468, allocations: 3.224 MB / 0.745 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2469, allocations: 7.984 kB / 0.745 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2469, allocations: 0 / 0.745 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009891/0.2568, allocations: 2.335 MB / 0.7473 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.2585, allocations: 319.5 kB / 0.7476 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.2644, allocations: 2.3 MB / 0.7498 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.2666, allocations: 210.8 kB / 0.75 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.2668, allocations: 63.98 kB / 0.7501 GB, free: 15.27 MB / 0.5294 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.0005097/0.2673, allocations: 257.5 kB / 0.7503 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.2676, allocations: 123.2 kB / 0.7504 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.2796, allocations: 3.336 MB / 0.7537 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.2796, allocations: 12 kB / 0.7537 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2796, allocations: 0 / 0.7537 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.2796, allocations: 3.984 kB / 0.7537 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.2816, allocations: 1.202 MB / 0.7549 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2816, allocations: 0 / 0.7549 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.2823, allocations: 111.8 kB / 0.755 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/0.2882, allocations: 1.498 MB / 0.7565 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.2883, allocations: 20 kB / 0.7565 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.3098, allocations: 7.899 MB / 0.7642 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3098, allocations: 3.984 kB / 0.7642 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.3237, allocations: 4.183 MB / 0.7683 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.3242, allocations: 154.9 kB / 0.7684 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.3244, allocations: 23.94 kB / 0.7685 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.3256, allocations: 95.89 kB / 0.7685 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/0.3262, allocations: 180.7 kB / 0.7687 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.3263, allocations: 23.98 kB / 0.7687 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00112/0.3274, allocations: 0.7641 MB / 0.7695 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.3274, allocations: 0 / 0.7695 GB, free: 11.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001203/0.3286, allocations: 439.8 kB / 0.7699 GB, free: 10.75 MB / 0.545 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.01347/0.3421, allocations: 4.669 MB / 0.7745 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007421/0.3495, allocations: 2.238 MB / 0.7767 GB, free: 3.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3495, allocations: 4 kB / 0.7767 GB, free: 3.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004462/0.3539, allocations: 1.286 MB / 0.7779 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/0.3548, allocations: 95.78 kB / 0.778 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/0.3835, allocations: 13.63 MB / 0.7913 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.3842, allocations: 1.061 MB / 0.7924 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005115/0.3847, allocations: 111.8 kB / 0.7925 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.3855, allocations: 435.3 kB / 0.7929 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.3855, allocations: 4.109 kB / 0.7929 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3433/0.7287, allocations: 35.28 MB / 0.8273 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.02, allocations: 5.969 kB / 0.8273 GB, free: 101.3 MB / 0.5762 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 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: 19.779471196001396] Failed to read output from testmodel.py, exit status != 0: 16.21047417598311 16.230212292 16.061674879 Calling exit ...