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-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1208/0.1208, allocations: 12.6 MB / 28.1 MB, free: 256 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 107.5 kB / 31.7 MB, free: 3.496 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 184.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4471/0.4471, allocations: 78.51 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 143.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3485, allocations: 68.11 MB / 0.5547 GB, free: 32.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006827/0.3553, allocations: 6.188 MB / 0.5607 GB, free: 28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004615/0.36, allocations: 2.163 MB / 0.5628 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/0.3608, allocations: 8.438 kB / 0.5628 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.3615, allocations: 235.6 kB / 0.5631 GB, free: 26.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.3643, allocations: 1.169 MB / 0.5642 GB, free: 25.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3654, allocations: 484.3 kB / 0.5647 GB, free: 24.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.3675, allocations: 1.829 MB / 0.5665 GB, free: 23.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.3679, allocations: 207.1 kB / 0.5667 GB, free: 23.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.3688, allocations: 0.7036 MB / 0.5673 GB, free: 23.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009106/0.3698, allocations: 0.9655 MB / 0.5683 GB, free: 22.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.37, allocations: 146.8 kB / 0.5684 GB, free: 22.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.3707, allocations: 314.8 kB / 0.5687 GB, free: 22.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.371, allocations: 379.1 kB / 0.5691 GB, free: 22.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005205/0.3715, allocations: 0.6881 MB / 0.5698 GB, free: 21.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.3731, allocations: 1.696 MB / 0.5714 GB, free: 20.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3731, allocations: 7.938 kB / 0.5714 GB, free: 20.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3731, allocations: 1.281 kB / 0.5714 GB, free: 20.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.3732, allocations: 0 / 0.5714 GB, free: 20.42 MB / 398.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.0149/0.3881, allocations: 3.709 MB / 0.5751 GB, free: 18.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.3882, allocations: 13.45 kB / 0.5751 GB, free: 18.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.3883, allocations: 103.3 kB / 0.5752 GB, free: 18.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.3913, allocations: 0.5011 MB / 0.5757 GB, free: 17.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3926, allocations: 0.8946 MB / 0.5765 GB, free: 16.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.3928, allocations: 222.2 kB / 0.5767 GB, free: 16.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.393, allocations: 83.98 kB / 0.5768 GB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.3946, allocations: 0.8887 MB / 0.5777 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3946, allocations: 4 kB / 0.5777 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.3947, allocations: 24 kB / 0.5777 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3948, allocations: 12 kB / 0.5777 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3967, allocations: 0.9928 MB / 0.5787 GB, free: 14.73 MB / 398.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.004034/0.4008, allocations: 2.938 MB / 0.5816 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.4033, allocations: 1.09 MB / 0.5826 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.4045, allocations: 0.6597 MB / 0.5833 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.882e-05/0.4046, allocations: 20.98 kB / 0.5833 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4046, allocations: 47.5 kB / 0.5833 GB, free: 9.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 2.574e-06/0.4046, allocations: 0 / 0.5833 GB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.02421/0.4288, allocations: 6.481 MB / 0.5897 GB, free: 3.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4289, allocations: 64.41 kB / 0.5897 GB, free: 3.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.4304, allocations: 1.144 MB / 0.5908 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.4307, allocations: 45.7 kB / 0.5909 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.4309, allocations: 393.9 kB / 0.5913 GB, free: 1.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.4312, allocations: 367 kB / 0.5916 GB, free: 1.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/0.4317, allocations: 363.2 kB / 0.592 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.4318, allocations: 305.1 kB / 0.5923 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.4336, allocations: 0.9019 MB / 0.5931 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.4355, allocations: 0.9429 MB / 0.5941 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.4392, allocations: 1.813 MB / 0.5958 GB, free: 12.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4392, allocations: 0 / 0.5958 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007268/0.4465, allocations: 3.04 MB / 0.5988 GB, free: 9.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.4465, allocations: 8 kB / 0.5988 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4466, allocations: 4 kB / 0.5988 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00889/0.4555, allocations: 2.28 MB / 0.601 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.4572, allocations: 323.5 kB / 0.6013 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.4625, allocations: 2.267 MB / 0.6036 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.4647, allocations: 198.5 kB / 0.6037 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.4649, allocations: 59.98 kB / 0.6038 GB, free: 4.738 MB / 414.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.000491/0.4654, allocations: 253.5 kB / 0.604 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.4656, allocations: 118.4 kB / 0.6042 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.4768, allocations: 3.297 MB / 0.6074 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.4768, allocations: 11.94 kB / 0.6074 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4768, allocations: 0 / 0.6074 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.4769, allocations: 3.984 kB / 0.6074 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.4789, allocations: 1.218 MB / 0.6086 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.4789, allocations: 4 kB / 0.6086 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.4797, allocations: 115.8 kB / 0.6087 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005529/0.4852, allocations: 1.442 MB / 0.6101 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.4854, allocations: 16 kB / 0.6101 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.5066, allocations: 7.83 MB / 0.6178 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5066, allocations: 4 kB / 0.6178 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.5199, allocations: 4.143 MB / 0.6218 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.5208, allocations: 231.4 kB / 0.622 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005668/0.5214, allocations: 20 kB / 0.6221 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.523, allocations: 79.91 kB / 0.6221 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006429/0.5236, allocations: 180.8 kB / 0.6223 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.5238, allocations: 24 kB / 0.6223 GB, free: 1.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001373/0.5252, allocations: 0.7641 MB / 0.6231 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.512e-06/0.5252, allocations: 0 / 0.6231 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001923/0.5271, allocations: 443.6 kB / 0.6235 GB, free: 296 kB / 430.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.01318/0.5403, allocations: 4.594 MB / 0.628 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007952/0.5483, allocations: 2.398 MB / 0.6303 GB, free: 9.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.5483, allocations: 4 kB / 0.6303 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004392/0.5527, allocations: 1.314 MB / 0.6316 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.5544, allocations: 95.8 kB / 0.6317 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/0.5862, allocations: 13.97 MB / 0.6453 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/0.5872, allocations: 1.057 MB / 0.6464 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006914/0.5879, allocations: 107.6 kB / 0.6465 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009114/0.5888, allocations: 423.3 kB / 0.6469 GB, free: 7.938 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5888, allocations: 0 / 0.6469 GB, free: 7.938 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08232/0.6711, allocations: 33.36 MB / 0.6795 GB, free: 6.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.61, allocations: 7.938 kB / 0.6795 GB, free: 6.711 MB / 494.1 MB (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)