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.001349/0.001349, 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.28/1.28, allocations: 222.9 MB / 239.3 MB, free: 4.641 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.001539/0.001539, allocations: 200.4 kB / 289.6 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4225/0.4225, allocations: 78.53 MB / 418.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 79.88 kB / 497.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1296, allocations: 68.18 MB / 0.5525 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2228/0.3525, allocations: 6.168 MB / 0.5585 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.3555, allocations: 2.118 MB / 0.5606 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.3558, allocations: 9 kB / 0.5606 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.3563, allocations: 245.7 kB / 0.5608 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.3584, allocations: 1.163 MB / 0.5619 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.3591, allocations: 484.3 kB / 0.5624 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.3605, allocations: 1.833 MB / 0.5642 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.3607, allocations: 203.3 kB / 0.5644 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.3613, allocations: 0.7079 MB / 0.5651 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.362, allocations: 0.9551 MB / 0.566 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.3622, allocations: 147.4 kB / 0.5662 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.3627, allocations: 319.9 kB / 0.5665 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.3629, allocations: 375.2 kB / 0.5668 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.3633, allocations: 0.6924 MB / 0.5675 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3644, allocations: 1.705 MB / 0.5692 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3644, allocations: 0 / 0.5692 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3644, allocations: 0 / 0.5692 GB, free: 33.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.3644, allocations: 1.094 kB / 0.5692 GB, free: 33.84 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.01308/0.3775, allocations: 3.709 MB / 0.5728 GB, free: 32.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3776, allocations: 8.062 kB / 0.5728 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.3777, allocations: 111.2 kB / 0.5729 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.3804, allocations: 0.4928 MB / 0.5734 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.3814, allocations: 0.9 MB / 0.5743 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.3817, allocations: 233 kB / 0.5745 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3818, allocations: 79.19 kB / 0.5746 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.3834, allocations: 0.8867 MB / 0.5754 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3835, allocations: 3.938 kB / 0.5754 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.3835, allocations: 29.94 kB / 0.5755 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3836, allocations: 14.22 kB / 0.5755 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.3855, allocations: 0.9905 MB / 0.5764 GB, free: 32.18 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.003831/0.3894, allocations: 2.928 MB / 0.5793 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.3918, allocations: 1.092 MB / 0.5804 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3931, allocations: 0.6588 MB / 0.581 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.136e-05/0.3932, allocations: 26.23 kB / 0.581 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.3932, allocations: 45.77 kB / 0.5811 GB, free: 30.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.334e-06/0.3932, allocations: 0 / 0.5811 GB, free: 30.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02543/0.4186, allocations: 6.485 MB / 0.5874 GB, free: 29.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.4187, allocations: 61.09 kB / 0.5875 GB, free: 29.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.4205, allocations: 1.139 MB / 0.5886 GB, free: 28.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.4207, allocations: 50.64 kB / 0.5886 GB, free: 28.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.4209, allocations: 387 kB / 0.589 GB, free: 28.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/0.4213, allocations: 363.5 kB / 0.5893 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006394/0.4219, allocations: 369.2 kB / 0.5897 GB, free: 27.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.422, allocations: 306.1 kB / 0.59 GB, free: 27.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.4239, allocations: 0.9078 MB / 0.5909 GB, free: 27.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.4258, allocations: 0.9364 MB / 0.5918 GB, free: 26.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/0.4293, allocations: 1.811 MB / 0.5936 GB, free: 25.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4294, allocations: 0 / 0.5936 GB, free: 25.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006753/0.4361, allocations: 3.042 MB / 0.5965 GB, free: 24.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4362, allocations: 10.53 kB / 0.5965 GB, free: 24.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4362, allocations: 5.234 kB / 0.5965 GB, free: 24.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008699/0.4449, allocations: 2.279 MB / 0.5988 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4463, allocations: 318.3 kB / 0.5991 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.4512, allocations: 2.266 MB / 0.6013 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.453, allocations: 204.6 kB / 0.6015 GB, free: 23.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.4532, allocations: 63.48 kB / 0.6015 GB, free: 23.11 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.0004363/0.4536, allocations: 240.8 kB / 0.6018 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.4539, allocations: 119.5 kB / 0.6019 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.4647, allocations: 3.301 MB / 0.6051 GB, free: 21.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.4647, allocations: 14.59 kB / 0.6051 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4647, allocations: 0 / 0.6051 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4647, allocations: 4.922 kB / 0.6051 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4661, allocations: 1.212 MB / 0.6063 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4662, allocations: 0 / 0.6063 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.4668, allocations: 112.8 kB / 0.6064 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005024/0.4718, allocations: 1.444 MB / 0.6078 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.4719, allocations: 24.8 kB / 0.6078 GB, free: 20.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/0.4887, allocations: 7.83 MB / 0.6155 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4887, allocations: 0 / 0.6155 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.4997, allocations: 4.128 MB / 0.6195 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.5001, allocations: 234.2 kB / 0.6197 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.5003, allocations: 16 kB / 0.6198 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5015, allocations: 87.91 kB / 0.6198 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.5019, allocations: 180.7 kB / 0.62 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.502, allocations: 24 kB / 0.62 GB, free: 9.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008283/0.5028, allocations: 0.7641 MB / 0.6208 GB, free: 8.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5028, allocations: 112 / 0.6208 GB, free: 8.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001052/0.5039, allocations: 443.8 kB / 0.6212 GB, free: 8.523 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.01052/0.5144, allocations: 4.614 MB / 0.6257 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006309/0.5207, allocations: 2.384 MB / 0.628 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5207, allocations: 7.938 kB / 0.6281 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.5243, allocations: 1.316 MB / 0.6293 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008673/0.5252, allocations: 86.28 kB / 0.6294 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/0.5488, allocations: 13.96 MB / 0.6431 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.5495, allocations: 1.053 MB / 0.6441 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004765/0.5499, allocations: 115.8 kB / 0.6442 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/0.5506, allocations: 431.3 kB / 0.6446 GB, free: 232 kB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5506, allocations: 3.938 kB / 0.6446 GB, free: 228 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06304/0.6136, allocations: 33.34 MB / 0.6772 GB, free: 15.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.44, allocations: 14.98 kB / 0.6772 GB, free: 15.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)