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.07617/0.07617, allocations: 12.59 MB / 28.22 MB, free: 0.7617 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 115.4 kB / 31.84 MB, free: 3.891 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.274/1.274, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001399/0.001399, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4137/0.4137, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.003666/0.003666, allocations: 145.7 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1035, allocations: 68.14 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.006896/0.1104, allocations: 6.183 MB / 0.6279 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.1142, allocations: 2.173 MB / 0.6301 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.1147, allocations: 8 kB / 0.6301 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.1152, allocations: 238.1 kB / 0.6303 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.1177, allocations: 1.171 MB / 0.6314 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.1187, allocations: 478.8 kB / 0.6319 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.1207, allocations: 1.844 MB / 0.6337 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.1211, allocations: 211.6 kB / 0.6339 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.1219, allocations: 0.7006 MB / 0.6346 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1231, allocations: 0.9612 MB / 0.6355 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.1233, allocations: 144 kB / 0.6357 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.1239, allocations: 315.8 kB / 0.636 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.1242, allocations: 378.6 kB / 0.6363 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006342/0.1249, allocations: 0.6877 MB / 0.637 GB, free: 440 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.1267, allocations: 1.728 MB / 0.6387 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1267, allocations: 11.94 kB / 0.6387 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1267, allocations: 3.938 kB / 0.6387 GB, free: 14.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.1267, allocations: 0 / 0.6387 GB, free: 14.68 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.01456/0.1413, allocations: 3.749 MB / 0.6424 GB, free: 10.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1413, allocations: 11.98 kB / 0.6424 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.1415, allocations: 106.7 kB / 0.6425 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.1444, allocations: 0.4996 MB / 0.643 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1458, allocations: 0.9033 MB / 0.6438 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.1461, allocations: 222.2 kB / 0.644 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.1463, allocations: 83.98 kB / 0.6441 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.1482, allocations: 0.8887 MB / 0.645 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1483, allocations: 0 / 0.645 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.1484, allocations: 28 kB / 0.645 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1484, allocations: 12 kB / 0.645 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.1507, allocations: 0.9928 MB / 0.646 GB, free: 7.035 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.004933/0.1556, allocations: 2.927 MB / 0.6489 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.1586, allocations: 1.105 MB / 0.6499 GB, free: 2.863 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.16, allocations: 0.6636 MB / 0.6506 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1601, allocations: 9 kB / 0.6506 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1602, allocations: 43.56 kB / 0.6506 GB, free: 2.133 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.986e-06/0.1602, allocations: 0 / 0.6506 GB, free: 2.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02684/0.187, allocations: 6.49 MB / 0.657 GB, free: 11.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1871, allocations: 60.41 kB / 0.657 GB, free: 11.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.1889, allocations: 1.144 MB / 0.6582 GB, free: 10.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.1891, allocations: 49.64 kB / 0.6582 GB, free: 10.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.1894, allocations: 398.3 kB / 0.6586 GB, free: 9.922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.1899, allocations: 380.8 kB / 0.6589 GB, free: 9.547 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006372/0.1905, allocations: 363.4 kB / 0.6593 GB, free: 9.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1907, allocations: 309.1 kB / 0.6596 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.1926, allocations: 0.9019 MB / 0.6605 GB, free: 7.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.1947, allocations: 0.9468 MB / 0.6614 GB, free: 7.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.1985, allocations: 1.805 MB / 0.6632 GB, free: 5.227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1985, allocations: 4 kB / 0.6632 GB, free: 5.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007228/0.2057, allocations: 3.044 MB / 0.6661 GB, free: 2.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.2058, allocations: 11.98 kB / 0.6661 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2058, allocations: 0 / 0.6661 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008985/0.2148, allocations: 2.28 MB / 0.6684 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.2163, allocations: 319.6 kB / 0.6687 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.2216, allocations: 2.273 MB / 0.6709 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.2235, allocations: 202.9 kB / 0.6711 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.2237, allocations: 55.98 kB / 0.6711 GB, free: 13.01 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.0004475/0.2241, allocations: 245.6 kB / 0.6714 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.2244, allocations: 123.1 kB / 0.6715 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.2356, allocations: 3.313 MB / 0.6747 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.2356, allocations: 11.94 kB / 0.6747 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2356, allocations: 4 kB / 0.6747 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.2356, allocations: 3.984 kB / 0.6747 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.2373, allocations: 1.207 MB / 0.6759 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2373, allocations: 0 / 0.6759 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.238, allocations: 111.9 kB / 0.676 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005465/0.2435, allocations: 1.446 MB / 0.6774 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.2436, allocations: 20 kB / 0.6775 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/0.2632, allocations: 7.827 MB / 0.6851 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2633, allocations: 0 / 0.6851 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.2762, allocations: 4.147 MB / 0.6892 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.2767, allocations: 232.1 kB / 0.6894 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.2769, allocations: 20 kB / 0.6894 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.2781, allocations: 88.02 kB / 0.6895 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005369/0.2786, allocations: 176.7 kB / 0.6896 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/0.2787, allocations: 20 kB / 0.6897 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001079/0.2798, allocations: 0.768 MB / 0.6904 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2798, allocations: 0 / 0.6904 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001127/0.2809, allocations: 443.7 kB / 0.6908 GB, free: 8.559 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.01263/0.2935, allocations: 4.606 MB / 0.6953 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006985/0.3006, allocations: 2.371 MB / 0.6977 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3006, allocations: 0 / 0.6977 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.3048, allocations: 1.317 MB / 0.6989 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.3057, allocations: 95.56 kB / 0.699 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/0.3314, allocations: 13.37 MB / 0.7121 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.3322, allocations: 1.057 MB / 0.7131 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004368/0.3326, allocations: 107.6 kB / 0.7132 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006874/0.3333, allocations: 427.3 kB / 0.7136 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.3333, allocations: 4 kB / 0.7136 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2728/0.6061, allocations: 33.7 MB / 0.7465 GB, free: 72.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.72, allocations: 11.66 kB / 0.7466 GB, free: 72.51 MB / 0.5137 GB (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)