Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.001331/0.001331, allocations: 112.1 kB / 19.73 MB, free: 2.227 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.53/1.53, 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.001554/0.001554, allocations: 206.4 kB / 310 MB, free: 3.148 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5018/0.5018, allocations: 79.73 MB / 446.2 MB, free: 38.77 MB / 350.1 MB " [Timeout remaining time 179] 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.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.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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.002792/0.002792, allocations: 85.95 kB / 0.5937 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1401, allocations: 73.3 MB / 0.6653 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009917/0.15, allocations: 8.297 MB / 0.6734 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.157, allocations: 2.655 MB / 0.676 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.159, allocations: 12 kB / 0.676 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.16, allocations: 305.3 kB / 0.6763 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004896/0.1649, allocations: 1.554 MB / 0.6778 GB, free: 5.262 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.1664, allocations: 0.6096 MB / 0.6784 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004053/0.1705, allocations: 2.566 MB / 0.6809 GB, free: 2.082 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.171, allocations: 221.2 kB / 0.6811 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.1729, allocations: 1.035 MB / 0.6821 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.1753, allocations: 1.374 MB / 0.6834 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004938/0.1758, allocations: 200 kB / 0.6836 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1769, allocations: 399.8 kB / 0.684 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.1774, allocations: 0.5215 MB / 0.6845 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.1785, allocations: 0.9907 MB / 0.6855 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.1817, allocations: 2.381 MB / 0.6878 GB, free: 10.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1817, allocations: 0 / 0.6878 GB, free: 10.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1817, allocations: 0 / 0.6878 GB, free: 10.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.021e-05/0.1818, allocations: 0 / 0.6878 GB, free: 10.93 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02064/0.2024, allocations: 4.934 MB / 0.6926 GB, free: 5.949 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2025, allocations: 8.031 kB / 0.6926 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.495e-05/0.2025, allocations: 26.19 kB / 0.6927 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/0.2027, allocations: 135.4 kB / 0.6928 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.2065, allocations: 0.5846 MB / 0.6934 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.2089, allocations: 1.156 MB / 0.6945 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/0.2093, allocations: 324.2 kB / 0.6948 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.2096, allocations: 120 kB / 0.6949 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.212, allocations: 1.089 MB / 0.696 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2121, allocations: 0 / 0.696 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.2122, allocations: 36 kB / 0.696 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.2122, allocations: 23.94 kB / 0.696 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.2148, allocations: 1.175 MB / 0.6972 GB, free: 1.188 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.009586/0.2244, allocations: 4.569 MB / 0.7016 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.2277, allocations: 1.302 MB / 0.7029 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.2293, allocations: 0.7202 MB / 0.7036 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.2295, allocations: 29.22 kB / 0.7036 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.2295, allocations: 55.73 kB / 0.7037 GB, free: 10.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.388e-06/0.2295, allocations: 4 kB / 0.7037 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02917/0.2587, allocations: 6.579 MB / 0.7101 GB, free: 3.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.2588, allocations: 64.72 kB / 0.7102 GB, free: 3.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/0.2626, allocations: 1.659 MB / 0.7118 GB, free: 1.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004864/0.2631, allocations: 57.7 kB / 0.7119 GB, free: 1.883 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/0.2639, allocations: 0.5543 MB / 0.7124 GB, free: 1.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009631/0.2648, allocations: 0.5152 MB / 0.7129 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/0.267, allocations: 0.5173 MB / 0.7134 GB, free: 284 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2672, allocations: 305.1 kB / 0.7137 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/0.2702, allocations: 1.145 MB / 0.7148 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/0.2733, allocations: 1.364 MB / 0.7162 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005554/0.2789, allocations: 2.342 MB / 0.7184 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.2789, allocations: 0 / 0.7184 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01129/0.2902, allocations: 4.036 MB / 0.7224 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.2902, allocations: 4 kB / 0.7224 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2903, allocations: 4 kB / 0.7224 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.302, allocations: 2.827 MB / 0.7252 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.3046, allocations: 479.3 kB / 0.7256 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007038/0.3116, allocations: 2.534 MB / 0.7281 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.3149, allocations: 246.4 kB / 0.7283 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005528/0.3154, allocations: 95.91 kB / 0.7284 GB, free: 0.7734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.3166, allocations: 313.3 kB / 0.7287 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/0.3173, allocations: 182.8 kB / 0.7289 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.3295, allocations: 3.507 MB / 0.7323 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.3296, allocations: 12 kB / 0.7323 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.3296, allocations: 7.938 kB / 0.7323 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.3296, allocations: 7.969 kB / 0.7323 GB, free: 12.73 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.01705/0.3467, allocations: 5.583 MB / 0.7378 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.3467, allocations: 4 kB / 0.7378 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.348, allocations: 171.7 kB / 0.738 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005948/0.3539, allocations: 1.484 MB / 0.7394 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/0.3543, allocations: 31.98 kB / 0.7394 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/0.3757, allocations: 7.752 MB / 0.747 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3757, allocations: 0 / 0.747 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/0.391, allocations: 4.539 MB / 0.7514 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/0.3919, allocations: 234.5 kB / 0.7517 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007379/0.3927, allocations: 24 kB / 0.7517 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/0.3946, allocations: 79.92 kB / 0.7518 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007429/0.3953, allocations: 193.4 kB / 0.7519 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.3956, allocations: 43.98 kB / 0.752 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002331/0.3979, allocations: 1.098 MB / 0.7531 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 0.7531 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002477/0.4004, allocations: 0.5973 MB / 0.7536 GB, free: 6.594 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01494/0.4153, allocations: 5.148 MB / 0.7587 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009292/0.4246, allocations: 2.756 MB / 0.7614 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4246, allocations: 4 kB / 0.7614 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004932/0.4295, allocations: 1.442 MB / 0.7628 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.4314, allocations: 129.6 kB / 0.7629 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04532/0.4767, allocations: 18.85 MB / 0.7813 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.478, allocations: 1.23 MB / 0.7825 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009159/0.4789, allocations: 159.2 kB / 0.7827 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.4802, allocations: 0.6438 MB / 0.7833 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/0.4803, allocations: 0 / 0.7833 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3934/0.8736, allocations: 46.96 MB / 0.8292 GB, free: 126.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/17.2, allocations: 14.8 kB / 0.8292 GB, free: 126.1 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.138686441001482] Failed to read output from testmodel.py, exit status != 0: 17.39840185898356 17.415917534 17.230455997 Calling exit ...