Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_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.007148/0.007148, allocations: 98.69 kB / 15.73 MB, free: 6.027 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.446/1.446, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001646/0.001646, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4797/0.4797, allocations: 78.53 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 79.88 kB / 0.5531 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3978, allocations: 68.17 MB / 0.6197 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.00725/0.4051, allocations: 8.221 MB / 0.6277 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.4109, allocations: 2.612 MB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.4128, allocations: 16 kB / 0.6303 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.4138, allocations: 313.3 kB / 0.6306 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.4185, allocations: 1.527 MB / 0.6321 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.4199, allocations: 0.6088 MB / 0.6327 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.4233, allocations: 2.561 MB / 0.6352 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.4239, allocations: 320.8 kB / 0.6355 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.4252, allocations: 1.004 MB / 0.6365 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.4267, allocations: 1.366 MB / 0.6378 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.427, allocations: 203.9 kB / 0.638 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.4277, allocations: 387.8 kB / 0.6384 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.4282, allocations: 0.5176 MB / 0.6389 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008784/0.4291, allocations: 0.9908 MB / 0.6398 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.4318, allocations: 2.382 MB / 0.6422 GB, free: 3.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4318, allocations: 4 kB / 0.6422 GB, free: 3.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4318, allocations: 0 / 0.6422 GB, free: 3.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.4318, allocations: 0 / 0.6422 GB, free: 3.082 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02032/0.4522, allocations: 5.002 MB / 0.6471 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4522, allocations: 12.03 kB / 0.6471 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004314/0.4527, allocations: 135.4 kB / 0.6472 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.4566, allocations: 0.5847 MB / 0.6478 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.4596, allocations: 1.225 MB / 0.649 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.46, allocations: 272.8 kB / 0.6492 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.4604, allocations: 112 kB / 0.6493 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.4631, allocations: 1.096 MB / 0.6504 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4631, allocations: 0 / 0.6504 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.4633, allocations: 36 kB / 0.6504 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.4633, allocations: 23.94 kB / 0.6505 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.4658, allocations: 1.171 MB / 0.6516 GB, free: 9.258 MB / 462.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.009203/0.475, allocations: 4.615 MB / 0.6561 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.4785, allocations: 2.147 MB / 0.6582 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.48, allocations: 0.7946 MB / 0.659 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.4802, allocations: 25.28 kB / 0.659 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4803, allocations: 43.88 kB / 0.659 GB, free: 1.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.807e-06/0.4803, allocations: 0 / 0.659 GB, free: 1.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.03218/0.5125, allocations: 6.696 MB / 0.6656 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.178e-05/0.5126, allocations: 72.72 kB / 0.6657 GB, free: 10.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/0.5174, allocations: 1.655 MB / 0.6673 GB, free: 8.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000552/0.518, allocations: 57.7 kB / 0.6673 GB, free: 8.672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008453/0.5188, allocations: 0.5582 MB / 0.6679 GB, free: 8.105 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.52, allocations: 0.5153 MB / 0.6684 GB, free: 7.586 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002522/0.5225, allocations: 0.5134 MB / 0.6689 GB, free: 7.066 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5227, allocations: 301.1 kB / 0.6692 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/0.5265, allocations: 1.149 MB / 0.6703 GB, free: 5.617 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.5308, allocations: 1.356 MB / 0.6716 GB, free: 4.234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007723/0.5386, allocations: 2.346 MB / 0.6739 GB, free: 1.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/0.5386, allocations: 0 / 0.6739 GB, free: 1.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01578/0.5544, allocations: 4.099 MB / 0.6779 GB, free: 13.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.5545, allocations: 4 kB / 0.6779 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.5546, allocations: 0 / 0.6779 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01502/0.5696, allocations: 2.819 MB / 0.6807 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.5735, allocations: 483.3 kB / 0.6811 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.5836, allocations: 2.531 MB / 0.6836 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/0.5891, allocations: 250.4 kB / 0.6838 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007396/0.5899, allocations: 95.95 kB / 0.6839 GB, free: 7.508 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.5914, allocations: 309.3 kB / 0.6842 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/0.5923, allocations: 174.8 kB / 0.6844 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/0.6088, allocations: 3.558 MB / 0.6879 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/0.6089, allocations: 12 kB / 0.6879 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.6089, allocations: 0 / 0.6879 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-05/0.609, allocations: 7.969 kB / 0.6879 GB, free: 3.426 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.02254/0.6315, allocations: 5.646 MB / 0.6934 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.6316, allocations: 0 / 0.6934 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.633, allocations: 163.8 kB / 0.6935 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005604/0.6386, allocations: 1.488 MB / 0.695 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/0.6389, allocations: 27.98 kB / 0.695 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.659, allocations: 7.866 MB / 0.7027 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6591, allocations: 0 / 0.7027 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/0.6733, allocations: 4.574 MB / 0.7072 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.6744, allocations: 311.6 kB / 0.7075 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007002/0.6751, allocations: 28 kB / 0.7075 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.6772, allocations: 79.92 kB / 0.7076 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007665/0.678, allocations: 185.5 kB / 0.7078 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.6781, allocations: 32 kB / 0.7078 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002097/0.6802, allocations: 1.098 MB / 0.7089 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6803, allocations: 0 / 0.7089 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002529/0.6828, allocations: 0.5973 MB / 0.7094 GB, free: 12.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01407/0.6969, allocations: 5.173 MB / 0.7145 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009524/0.7064, allocations: 3.006 MB / 0.7174 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7065, allocations: 4 kB / 0.7174 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.7115, allocations: 1.532 MB / 0.7189 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.714, allocations: 129.5 kB / 0.719 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04799/0.762, allocations: 18.94 MB / 0.7375 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7636, allocations: 1.238 MB / 0.7387 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001371/0.765, allocations: 163.2 kB / 0.7389 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/0.7666, allocations: 0.6282 MB / 0.7395 GB, free: 13.83 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.7666, allocations: 0 / 0.7395 GB, free: 13.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4686/1.235, allocations: 45.04 MB / 0.7835 GB, free: 137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.48, allocations: 8.641 kB / 0.7835 GB, free: 137 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_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_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)