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.0868/0.0868, allocations: 12.35 MB / 31.21 MB, free: 6.418 MB / 26.18 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.00134/0.00134, allocations: 113 kB / 37.24 MB, free: 1.105 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.42/1.42, allocations: 207.7 MB / 250.9 MB, free: 7.273 MB / 190.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.001718/0.001718, allocations: 216.4 kB / 306.1 MB, free: 284 kB / 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.3397/0.3397, allocations: 79.73 MB / 440.9 MB, free: 12.29 MB / 318.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.004536/0.004536, allocations: 151.8 kB / 0.5875 GB, free: 7.508 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3286, allocations: 71.95 MB / 0.6577 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006216/0.3349, allocations: 5.427 MB / 0.663 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.3393, allocations: 2.071 MB / 0.6651 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007325/0.34, allocations: 8.594 kB / 0.6651 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.3407, allocations: 228.5 kB / 0.6653 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.3441, allocations: 1.178 MB / 0.6664 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3453, allocations: 482.2 kB / 0.6669 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.348, allocations: 1.845 MB / 0.6687 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.3483, allocations: 137.1 kB / 0.6688 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3496, allocations: 0.7235 MB / 0.6695 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.351, allocations: 0.8815 MB / 0.6704 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000351/0.3513, allocations: 146.4 kB / 0.6705 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.3521, allocations: 294.9 kB / 0.6708 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000379/0.3524, allocations: 381.3 kB / 0.6712 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.3531, allocations: 0.5793 MB / 0.6718 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.3552, allocations: 1.736 MB / 0.6734 GB, free: 8.664 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3552, allocations: 3.938 kB / 0.6734 GB, free: 8.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.3552, allocations: 3.984 kB / 0.6735 GB, free: 8.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.3552, allocations: 1.062 kB / 0.6735 GB, free: 8.656 MB / 462.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.3708, allocations: 3.68 MB / 0.677 GB, free: 6.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3709, allocations: 9.281 kB / 0.6771 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.3711, allocations: 106.7 kB / 0.6772 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.3743, allocations: 0.4956 MB / 0.6776 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.3762, allocations: 0.8509 MB / 0.6785 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.3766, allocations: 277.6 kB / 0.6787 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.3768, allocations: 81.69 kB / 0.6788 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.3789, allocations: 0.8858 MB / 0.6797 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.3789, allocations: 4 kB / 0.6797 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.379, allocations: 25.5 kB / 0.6797 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.379, allocations: 13.75 kB / 0.6797 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.3814, allocations: 0.9837 MB / 0.6807 GB, free: 4.445 MB / 462.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.005518/0.3869, allocations: 2.147 MB / 0.6828 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.3899, allocations: 1.021 MB / 0.6838 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.3914, allocations: 0.5993 MB / 0.6844 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.3915, allocations: 23.41 kB / 0.6844 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3915, allocations: 40.72 kB / 0.6844 GB, free: 2.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.885e-06/0.3915, allocations: 0 / 0.6844 GB, free: 2.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02795/0.4195, allocations: 6.386 MB / 0.6907 GB, free: 14.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4195, allocations: 62.31 kB / 0.6907 GB, free: 14.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.4218, allocations: 1.141 MB / 0.6918 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.422, allocations: 55.11 kB / 0.6919 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000454/0.4225, allocations: 400.8 kB / 0.6923 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.4231, allocations: 376.5 kB / 0.6926 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009712/0.424, allocations: 364.1 kB / 0.693 GB, free: 13.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4242, allocations: 307.3 kB / 0.6933 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.4265, allocations: 0.904 MB / 0.6941 GB, free: 12.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.4288, allocations: 0.9409 MB / 0.6951 GB, free: 11.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/0.4331, allocations: 1.817 MB / 0.6968 GB, free: 10.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.4331, allocations: 0 / 0.6968 GB, free: 10.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008449/0.4416, allocations: 3.009 MB / 0.6998 GB, free: 7.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4416, allocations: 8 kB / 0.6998 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4416, allocations: 0 / 0.6998 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009371/0.451, allocations: 2.268 MB / 0.702 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.4527, allocations: 323.5 kB / 0.7023 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.4585, allocations: 2.276 MB / 0.7045 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.4608, allocations: 198.9 kB / 0.7047 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.4611, allocations: 63.98 kB / 0.7048 GB, free: 1.922 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.0005915/0.4617, allocations: 254.5 kB / 0.705 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.462, allocations: 127.1 kB / 0.7052 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.4737, allocations: 3.27 MB / 0.7083 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.4738, allocations: 15.94 kB / 0.7084 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4738, allocations: 0 / 0.7084 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.4738, allocations: 3.984 kB / 0.7084 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4758, allocations: 0.8745 MB / 0.7092 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.4758, allocations: 0 / 0.7092 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.4765, allocations: 111.8 kB / 0.7093 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005694/0.4822, allocations: 1.439 MB / 0.7107 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.4824, allocations: 27.98 kB / 0.7108 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/0.5036, allocations: 7.56 MB / 0.7181 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5036, allocations: 0 / 0.7181 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/0.5173, allocations: 4.104 MB / 0.7221 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.5178, allocations: 166.8 kB / 0.7223 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.5182, allocations: 20 kB / 0.7223 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.5196, allocations: 87.91 kB / 0.7224 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/0.5202, allocations: 176.7 kB / 0.7226 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.5203, allocations: 31.98 kB / 0.7226 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001309/0.5216, allocations: 0.7563 MB / 0.7233 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5216, allocations: 0 / 0.7233 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001587/0.5232, allocations: 439.7 kB / 0.7238 GB, free: 14.27 MB / 0.4981 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 (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.01356/0.5368, allocations: 4.578 MB / 0.7282 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007561/0.5443, allocations: 2.183 MB / 0.7304 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5443, allocations: 0 / 0.7304 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004413/0.5487, allocations: 1.255 MB / 0.7316 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.5501, allocations: 84.31 kB / 0.7317 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/0.5795, allocations: 13.31 MB / 0.7447 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.58, allocations: 477.6 kB / 0.7451 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005704/0.5806, allocations: 99.67 kB / 0.7452 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008098/0.5814, allocations: 431.3 kB / 0.7456 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of SimCode: time 1.213e-06/0.5814, allocations: 0 / 0.7456 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08289/0.6643, allocations: 34.77 MB / 0.7796 GB, free: 4.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.01, allocations: 8.047 kB / 0.7796 GB, free: 4.887 MB / 0.545 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.30319131910801] Failed to read output from testmodel.py, exit status != 0: 15.157515476923436 15.181943365 14.821925034 Calling exit ...