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.00545/0.00545, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.22/1.22, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001295/0.001295, allocations: 192.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4014/0.4014, allocations: 78.52 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 79.88 kB / 0.5531 GB, free: 1.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2646, allocations: 68.18 MB / 0.6197 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004475/0.2691, allocations: 6.182 MB / 0.6257 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.2721, allocations: 2.114 MB / 0.6278 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006037/0.2727, allocations: 8 kB / 0.6278 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.2731, allocations: 238 kB / 0.628 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.2753, allocations: 1.177 MB / 0.6292 GB, free: 416 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.2762, allocations: 479.7 kB / 0.6296 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.278, allocations: 1.843 MB / 0.6314 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.2783, allocations: 215.4 kB / 0.6316 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.2791, allocations: 0.7083 MB / 0.6323 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.28, allocations: 0.9495 MB / 0.6333 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.2802, allocations: 148 kB / 0.6334 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.2808, allocations: 319.8 kB / 0.6337 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.2811, allocations: 378.6 kB / 0.6341 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.2816, allocations: 0.6917 MB / 0.6347 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.2832, allocations: 1.719 MB / 0.6364 GB, free: 8.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2832, allocations: 0 / 0.6364 GB, free: 8.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2832, allocations: 0 / 0.6364 GB, free: 8.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.2832, allocations: 0 / 0.6364 GB, free: 8.957 MB / 446.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.01373/0.297, allocations: 3.709 MB / 0.64 GB, free: 5.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.297, allocations: 8.031 kB / 0.64 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.2971, allocations: 114.6 kB / 0.6402 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/0.2999, allocations: 498.9 kB / 0.6406 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.3011, allocations: 0.8985 MB / 0.6415 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.3014, allocations: 222.2 kB / 0.6417 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3016, allocations: 84 kB / 0.6418 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.3033, allocations: 0.8925 MB / 0.6427 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3033, allocations: 0 / 0.6427 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.566e-05/0.3034, allocations: 24 kB / 0.6427 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3034, allocations: 16 kB / 0.6427 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.3054, allocations: 0.9928 MB / 0.6437 GB, free: 1.355 MB / 446.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.004421/0.3098, allocations: 2.923 MB / 0.6465 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.3124, allocations: 1.097 MB / 0.6476 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.3137, allocations: 0.6597 MB / 0.6482 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.3138, allocations: 24.97 kB / 0.6483 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3138, allocations: 47.56 kB / 0.6483 GB, free: 12.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.385e-06/0.3138, allocations: 0 / 0.6483 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02465/0.3385, allocations: 6.481 MB / 0.6546 GB, free: 5.938 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3385, allocations: 60.41 kB / 0.6547 GB, free: 5.867 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.3404, allocations: 1.144 MB / 0.6558 GB, free: 4.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.3406, allocations: 49.7 kB / 0.6559 GB, free: 4.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.3409, allocations: 389.9 kB / 0.6562 GB, free: 4.262 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.3414, allocations: 355 kB / 0.6566 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006955/0.3421, allocations: 371.2 kB / 0.6569 GB, free: 3.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.3422, allocations: 309 kB / 0.6572 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.344, allocations: 0.9097 MB / 0.6581 GB, free: 2.324 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.3458, allocations: 0.9389 MB / 0.659 GB, free: 1.387 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.3492, allocations: 1.805 MB / 0.6608 GB, free: 15.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3492, allocations: 4 kB / 0.6608 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006445/0.3556, allocations: 3.04 MB / 0.6638 GB, free: 12.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3557, allocations: 4 kB / 0.6638 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3557, allocations: 4 kB / 0.6638 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008413/0.3641, allocations: 2.276 MB / 0.666 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.3656, allocations: 315.6 kB / 0.6663 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/0.3704, allocations: 2.268 MB / 0.6685 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.3723, allocations: 202.5 kB / 0.6687 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.3726, allocations: 59.98 kB / 0.6688 GB, free: 7.375 MB / 478.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.0004773/0.3731, allocations: 245.6 kB / 0.669 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.3733, allocations: 118.4 kB / 0.6691 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.3834, allocations: 3.297 MB / 0.6723 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.3834, allocations: 15.94 kB / 0.6723 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3834, allocations: 3.984 kB / 0.6724 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.3835, allocations: 3.984 kB / 0.6724 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.385, allocations: 1.214 MB / 0.6735 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.385, allocations: 0 / 0.6735 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.3857, allocations: 115.9 kB / 0.6737 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004906/0.3906, allocations: 1.439 MB / 0.6751 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.3908, allocations: 27.92 kB / 0.6751 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.4087, allocations: 7.811 MB / 0.6827 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4087, allocations: 0 / 0.6827 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.4203, allocations: 4.143 MB / 0.6868 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.4208, allocations: 227.4 kB / 0.687 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.421, allocations: 23.98 kB / 0.687 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.4222, allocations: 79.92 kB / 0.6871 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004759/0.4227, allocations: 180.7 kB / 0.6872 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.4228, allocations: 24 kB / 0.6873 GB, free: 4.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.4239, allocations: 0.7602 MB / 0.688 GB, free: 3.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4239, allocations: 0 / 0.688 GB, free: 3.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001207/0.4251, allocations: 435.7 kB / 0.6884 GB, free: 2.973 MB / 494.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.01142/0.4365, allocations: 4.605 MB / 0.6929 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006477/0.4431, allocations: 2.371 MB / 0.6952 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4431, allocations: 0 / 0.6952 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003737/0.4468, allocations: 1.306 MB / 0.6965 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.4478, allocations: 88.25 kB / 0.6966 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/0.4716, allocations: 13.35 MB / 0.7096 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.4722, allocations: 1.057 MB / 0.7107 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004594/0.4727, allocations: 103.6 kB / 0.7108 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/0.4733, allocations: 427.3 kB / 0.7112 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.4734, allocations: 0 / 0.7112 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06307/0.5364, allocations: 35.17 MB / 0.7455 GB, free: 8.484 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13, allocations: 9.594 kB / 0.7455 GB, free: 8.477 MB / 0.545 GB (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)