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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001666, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 239.2 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 188.5 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5652/0.5652, allocations: 91.9 MB / 431.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 83.89 kB / 0.502 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4264, allocations: 71.26 MB / 0.5716 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005925/0.4324, allocations: 6.19 MB / 0.5776 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.4362, allocations: 2.113 MB / 0.5797 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.4367, allocations: 8.312 kB / 0.5797 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.4373, allocations: 232.9 kB / 0.5799 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.4392, allocations: 0.8944 MB / 0.5808 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4402, allocations: 0.57 MB / 0.5813 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4416, allocations: 1.661 MB / 0.583 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.4419, allocations: 209 kB / 0.5832 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.4425, allocations: 0.6777 MB / 0.5838 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.4433, allocations: 0.9148 MB / 0.5847 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.4435, allocations: 150.5 kB / 0.5849 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005252/0.444, allocations: 316.5 kB / 0.5852 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.4443, allocations: 370.7 kB / 0.5855 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.4447, allocations: 0.6738 MB / 0.5862 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.4461, allocations: 1.671 MB / 0.5878 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4461, allocations: 4 kB / 0.5878 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4461, allocations: 1.031 kB / 0.5878 GB, free: 27.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.4462, allocations: 0.6875 kB / 0.5878 GB, free: 27.61 MB / 430.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.01162/0.4578, allocations: 3.142 MB / 0.5909 GB, free: 26.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4578, allocations: 9.531 kB / 0.5909 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.458, allocations: 104.2 kB / 0.591 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.4611, allocations: 0.4911 MB / 0.5915 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.4625, allocations: 0.9003 MB / 0.5924 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.4627, allocations: 222.5 kB / 0.5926 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4629, allocations: 85.41 kB / 0.5926 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.4648, allocations: 0.8904 MB / 0.5935 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4648, allocations: 0 / 0.5935 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.4649, allocations: 24.94 kB / 0.5935 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4649, allocations: 14.5 kB / 0.5936 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.4672, allocations: 0.9916 MB / 0.5945 GB, free: 24.71 MB / 430.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.005134/0.4724, allocations: 2.938 MB / 0.5974 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.4754, allocations: 1.098 MB / 0.5985 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.4768, allocations: 0.6635 MB / 0.5991 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/0.4769, allocations: 17.12 kB / 0.5991 GB, free: 22.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.477, allocations: 44.5 kB / 0.5992 GB, free: 22.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.256e-06/0.477, allocations: 0 / 0.5992 GB, free: 22.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02799/0.505, allocations: 6.483 MB / 0.6055 GB, free: 21.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.505, allocations: 66.61 kB / 0.6056 GB, free: 21.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.5071, allocations: 1.146 MB / 0.6067 GB, free: 20.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002766/0.5074, allocations: 46.55 kB / 0.6067 GB, free: 20.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.5076, allocations: 389.8 kB / 0.6071 GB, free: 20.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.5081, allocations: 364.1 kB / 0.6074 GB, free: 19.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006376/0.5087, allocations: 370 kB / 0.6078 GB, free: 19.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.5088, allocations: 305.1 kB / 0.6081 GB, free: 19.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.5107, allocations: 0.9077 MB / 0.609 GB, free: 19.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.5127, allocations: 0.9355 MB / 0.6099 GB, free: 18.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.5164, allocations: 1.808 MB / 0.6117 GB, free: 17.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5165, allocations: 1.219 kB / 0.6117 GB, free: 17.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007376/0.5238, allocations: 3.045 MB / 0.6146 GB, free: 16.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5239, allocations: 4.969 kB / 0.6146 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5239, allocations: 0 / 0.6146 GB, free: 16.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008916/0.5328, allocations: 2.28 MB / 0.6169 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.5344, allocations: 325.3 kB / 0.6172 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.5391, allocations: 2.266 MB / 0.6194 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.5413, allocations: 206.5 kB / 0.6196 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.5414, allocations: 55.98 kB / 0.6196 GB, free: 13.09 MB / 430.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.0004428/0.5419, allocations: 249.5 kB / 0.6199 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.5421, allocations: 118.4 kB / 0.62 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.5523, allocations: 3.297 MB / 0.6232 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5523, allocations: 15.92 kB / 0.6232 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5523, allocations: 4 kB / 0.6232 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.5523, allocations: 3.984 kB / 0.6232 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.554, allocations: 1.21 MB / 0.6244 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.554, allocations: 0 / 0.6244 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.5547, allocations: 115.8 kB / 0.6245 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005091/0.5598, allocations: 1.446 MB / 0.6259 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.5599, allocations: 23.98 kB / 0.626 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.5781, allocations: 7.823 MB / 0.6336 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5781, allocations: 7.922 kB / 0.6336 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.5913, allocations: 4.135 MB / 0.6376 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.5921, allocations: 227.4 kB / 0.6379 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/0.5927, allocations: 23.98 kB / 0.6379 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.5943, allocations: 87.91 kB / 0.638 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/0.595, allocations: 172.8 kB / 0.6381 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.5952, allocations: 20 kB / 0.6381 GB, free: 9.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.5966, allocations: 0.7641 MB / 0.6389 GB, free: 9.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5966, allocations: 0 / 0.6389 GB, free: 9.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001886/0.5985, allocations: 443.7 kB / 0.6393 GB, free: 8.652 MB / 446.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.01298/0.6115, allocations: 4.61 MB / 0.6438 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007757/0.6193, allocations: 2.402 MB / 0.6462 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6193, allocations: 0 / 0.6462 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.6236, allocations: 1.305 MB / 0.6474 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.6251, allocations: 84.31 kB / 0.6475 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/0.6535, allocations: 13.97 MB / 0.6612 GB, free: 1.883 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.6544, allocations: 1.057 MB / 0.6622 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.6551, allocations: 111.6 kB / 0.6623 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/0.6559, allocations: 423.3 kB / 0.6627 GB, free: 280 kB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6559, allocations: 4 kB / 0.6627 GB, free: 276 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09017/0.7461, allocations: 33.35 MB / 0.6953 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.84, allocations: 3.125 kB / 0.6953 GB, free: 15.12 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)