Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) 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.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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_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.001937/0.001937, 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.564/1.564, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.00163/0.00163, allocations: 192.5 kB / 289.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5303/0.5303, allocations: 78.52 MB / 418.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 75.88 kB / 497.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1716, allocations: 68.18 MB / 0.5525 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.3588/0.5304, allocations: 6.176 MB / 0.5585 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.5345, allocations: 2.118 MB / 0.5606 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.5351, allocations: 8.875 kB / 0.5606 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.5358, allocations: 240.3 kB / 0.5608 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.5385, allocations: 1.164 MB / 0.5619 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.5396, allocations: 481.1 kB / 0.5624 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.5415, allocations: 1.833 MB / 0.5642 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.5419, allocations: 207.8 kB / 0.5644 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/0.5426, allocations: 0.7017 MB / 0.5651 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009805/0.5436, allocations: 0.9612 MB / 0.566 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.5438, allocations: 145.5 kB / 0.5662 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006295/0.5445, allocations: 319 kB / 0.5665 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.5448, allocations: 379.2 kB / 0.5668 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.5454, allocations: 0.6889 MB / 0.5675 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.5468, allocations: 1.709 MB / 0.5692 GB, free: 33.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5468, allocations: 3.062 kB / 0.5692 GB, free: 33.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5468, allocations: 0 / 0.5692 GB, free: 33.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.5469, allocations: 0 / 0.5692 GB, free: 33.78 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.01392/0.5608, allocations: 3.705 MB / 0.5728 GB, free: 32.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.5609, allocations: 11.06 kB / 0.5728 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.561, allocations: 113.2 kB / 0.5729 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.5637, allocations: 497.6 kB / 0.5734 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.5649, allocations: 0.9041 MB / 0.5743 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.5651, allocations: 226.5 kB / 0.5745 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5653, allocations: 83.72 kB / 0.5746 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.567, allocations: 0.8877 MB / 0.5754 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.567, allocations: 0 / 0.5754 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.5671, allocations: 26.89 kB / 0.5754 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.5671, allocations: 14.06 kB / 0.5755 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.5692, allocations: 0.9887 MB / 0.5764 GB, free: 32.13 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.004277/0.5735, allocations: 2.934 MB / 0.5793 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.5762, allocations: 1.095 MB / 0.5804 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.5775, allocations: 0.6629 MB / 0.581 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.5777, allocations: 14.47 kB / 0.581 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.5777, allocations: 45.59 kB / 0.5811 GB, free: 30.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.505e-06/0.5777, allocations: 1.125 kB / 0.5811 GB, free: 30.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02746/0.6052, allocations: 6.484 MB / 0.5874 GB, free: 29.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.6053, allocations: 65.56 kB / 0.5875 GB, free: 28.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.6074, allocations: 1.143 MB / 0.5886 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.6076, allocations: 46.83 kB / 0.5886 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.6079, allocations: 394.2 kB / 0.589 GB, free: 28.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.6083, allocations: 359.9 kB / 0.5893 GB, free: 27.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007072/0.609, allocations: 364.6 kB / 0.5897 GB, free: 27.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.6091, allocations: 306.9 kB / 0.59 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.6112, allocations: 0.9066 MB / 0.5909 GB, free: 27.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.6133, allocations: 0.9368 MB / 0.5918 GB, free: 26.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.6172, allocations: 1.807 MB / 0.5935 GB, free: 25.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6173, allocations: 0 / 0.5935 GB, free: 25.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007765/0.625, allocations: 3.055 MB / 0.5965 GB, free: 24.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.6251, allocations: 4.656 kB / 0.5965 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6251, allocations: 1.281 kB / 0.5965 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009881/0.635, allocations: 2.278 MB / 0.5988 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.637, allocations: 328 kB / 0.5991 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.6428, allocations: 2.261 MB / 0.6013 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.6452, allocations: 197.7 kB / 0.6015 GB, free: 23.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.6454, allocations: 61.33 kB / 0.6015 GB, free: 23.05 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.0005231/0.646, allocations: 249.7 kB / 0.6018 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.6462, allocations: 119.6 kB / 0.6019 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.6579, allocations: 3.296 MB / 0.6051 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.658, allocations: 14.25 kB / 0.6051 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.658, allocations: 0 / 0.6051 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.658, allocations: 5.922 kB / 0.6051 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.66, allocations: 1.207 MB / 0.6063 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.66, allocations: 0 / 0.6063 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.6607, allocations: 114.8 kB / 0.6064 GB, free: 21.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005492/0.6662, allocations: 1.453 MB / 0.6078 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/0.6663, allocations: 18.34 kB / 0.6078 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.6844, allocations: 7.839 MB / 0.6155 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6844, allocations: 4 kB / 0.6155 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.6959, allocations: 4.123 MB / 0.6195 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.6965, allocations: 231.4 kB / 0.6197 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004561/0.697, allocations: 20 kB / 0.6198 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.6985, allocations: 83.91 kB / 0.6198 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/0.6991, allocations: 176.8 kB / 0.62 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/0.6992, allocations: 23.98 kB / 0.62 GB, free: 9.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.7005, allocations: 0.7603 MB / 0.6208 GB, free: 8.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7006, allocations: 3.938 kB / 0.6208 GB, free: 8.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001784/0.7023, allocations: 435.8 kB / 0.6212 GB, free: 8.531 MB / 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.01134/0.7137, allocations: 4.617 MB / 0.6257 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007527/0.7213, allocations: 2.397 MB / 0.628 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.7213, allocations: 1.219 kB / 0.6281 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003999/0.7253, allocations: 1.311 MB / 0.6293 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.7268, allocations: 85 kB / 0.6294 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02997/0.7568, allocations: 13.97 MB / 0.6431 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/0.7577, allocations: 1.061 MB / 0.6441 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005912/0.7583, allocations: 100.9 kB / 0.6442 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008217/0.7592, allocations: 435.2 kB / 0.6446 GB, free: 228 kB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.7592, allocations: 4 kB / 0.6446 GB, free: 224 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/0.8388, allocations: 33.33 MB / 0.6772 GB, free: 15.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.54, allocations: 10.12 kB / 0.6772 GB, free: 15.25 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)