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.0009515/0.0009516, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 239.4 MB, free: 5.43 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.00126/0.00126, allocations: 176.4 kB / 290.6 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.509/0.509, allocations: 91.92 MB / 433.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 16 kB / 0.5049 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3586, allocations: 72.46 MB / 0.5756 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004497/0.3632, allocations: 5.906 MB / 0.5814 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.3667, allocations: 2.117 MB / 0.5835 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.3674, allocations: 10.31 kB / 0.5835 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.3679, allocations: 184 kB / 0.5837 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.3698, allocations: 0.7889 MB / 0.5844 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3709, allocations: 0.5178 MB / 0.5849 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.3724, allocations: 1.58 MB / 0.5865 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.3727, allocations: 187.7 kB / 0.5867 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.3734, allocations: 0.5895 MB / 0.5872 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.3742, allocations: 0.845 MB / 0.5881 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.3743, allocations: 77.38 kB / 0.5881 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.3748, allocations: 243.9 kB / 0.5884 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.375, allocations: 295.3 kB / 0.5886 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.3754, allocations: 0.6347 MB / 0.5893 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3766, allocations: 1.59 MB / 0.5908 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3766, allocations: 0 / 0.5908 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3766, allocations: 3.031 kB / 0.5908 GB, free: 27.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.3766, allocations: 0.7188 kB / 0.5908 GB, free: 27.55 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.01147/0.3881, allocations: 3.028 MB / 0.5938 GB, free: 26.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3882, allocations: 9.062 kB / 0.5938 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002599/0.3885, allocations: 106.9 kB / 0.5939 GB, free: 26.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.3916, allocations: 0.492 MB / 0.5944 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.393, allocations: 0.9005 MB / 0.5952 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.3932, allocations: 233.8 kB / 0.5955 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.3934, allocations: 84.62 kB / 0.5956 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.3954, allocations: 0.949 MB / 0.5965 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3954, allocations: 0 / 0.5965 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/0.3955, allocations: 25.47 kB / 0.5965 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3955, allocations: 14.25 kB / 0.5965 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.398, allocations: 1.062 MB / 0.5976 GB, free: 24.77 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.005327/0.4033, allocations: 2.968 MB / 0.6005 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.4064, allocations: 1.172 MB / 0.6016 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.4079, allocations: 0.7167 MB / 0.6023 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.408, allocations: 20.44 kB / 0.6023 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4081, allocations: 44.77 kB / 0.6024 GB, free: 22.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.156e-06/0.4081, allocations: 0 / 0.6024 GB, free: 22.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.03055/0.4386, allocations: 7.705 MB / 0.6099 GB, free: 21.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4387, allocations: 62.36 kB / 0.6099 GB, free: 20.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.4407, allocations: 1.139 MB / 0.6111 GB, free: 20.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.441, allocations: 50.89 kB / 0.6111 GB, free: 20.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.4413, allocations: 386.7 kB / 0.6115 GB, free: 20.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.4416, allocations: 367.6 kB / 0.6118 GB, free: 19.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.4419, allocations: 191.9 kB / 0.612 GB, free: 19.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.442, allocations: 310.2 kB / 0.6123 GB, free: 19.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.444, allocations: 0.959 MB / 0.6132 GB, free: 19.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.4461, allocations: 0.9896 MB / 0.6142 GB, free: 18.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.4499, allocations: 1.921 MB / 0.6161 GB, free: 17.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.45, allocations: 0 / 0.6161 GB, free: 17.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00745/0.4574, allocations: 3.275 MB / 0.6193 GB, free: 16.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4575, allocations: 4 kB / 0.6193 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4575, allocations: 4 kB / 0.6193 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008751/0.4662, allocations: 2.526 MB / 0.6218 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.4679, allocations: 327.5 kB / 0.6221 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/0.4728, allocations: 2.461 MB / 0.6245 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.4751, allocations: 226.5 kB / 0.6247 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4753, allocations: 63.92 kB / 0.6247 GB, free: 10.94 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.0004415/0.4757, allocations: 249.5 kB / 0.625 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.4759, allocations: 118.4 kB / 0.6251 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.4869, allocations: 3.918 MB / 0.6289 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.487, allocations: 11.94 kB / 0.6289 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.487, allocations: 0 / 0.6289 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.487, allocations: 3.984 kB / 0.6289 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.4883, allocations: 1.206 MB / 0.6301 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4883, allocations: 0 / 0.6301 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.489, allocations: 115.8 kB / 0.6302 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/0.4943, allocations: 1.681 MB / 0.6319 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/0.4944, allocations: 20 kB / 0.6319 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.5131, allocations: 7.845 MB / 0.6395 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5131, allocations: 0 / 0.6395 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5276, allocations: 4.811 MB / 0.6442 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000681/0.5283, allocations: 235.4 kB / 0.6445 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.5285, allocations: 19.98 kB / 0.6445 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.5299, allocations: 115.9 kB / 0.6446 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/0.5305, allocations: 172.7 kB / 0.6448 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.5305, allocations: 24 kB / 0.6448 GB, free: 6.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.5316, allocations: 0.7602 MB / 0.6455 GB, free: 5.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5316, allocations: 0 / 0.6455 GB, free: 5.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001241/0.5329, allocations: 435.6 kB / 0.6459 GB, free: 4.953 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.01399/0.5469, allocations: 5.25 MB / 0.6511 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007475/0.5544, allocations: 2.552 MB / 0.6536 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5544, allocations: 0 / 0.6536 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/0.5589, allocations: 1.445 MB / 0.655 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.5599, allocations: 92.25 kB / 0.6551 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/0.5872, allocations: 14.92 MB / 0.6696 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.5879, allocations: 1.058 MB / 0.6707 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004802/0.5884, allocations: 103.6 kB / 0.6708 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/0.5891, allocations: 423.3 kB / 0.6712 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5891, allocations: 0 / 0.6712 GB, free: 10.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/0.6436, allocations: 30.36 MB / 0.7008 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.6438, allocations: 257 kB / 0.7011 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.528, allocations: 0 / 0.7011 GB, free: 12.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)