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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8626/0.8626, allocations: 177.1 MB / 199.4 MB, free: 5.918 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 152.7 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2651/0.2651, allocations: 80.25 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.5548 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.283e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005259/0.005272, allocations: 7.173 MB / 0.5618 GB, free: 5.516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.008887, allocations: 2.53 MB / 0.5642 GB, free: 2.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.009429, allocations: 8 kB / 0.5642 GB, free: 2.973 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.009907, allocations: 309.3 kB / 0.5645 GB, free: 2.668 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.01162, allocations: 1.195 MB / 0.5657 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.01248, allocations: 0.6957 MB / 0.5664 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.01456, allocations: 2.425 MB / 0.5687 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.01489, allocations: 217.2 kB / 0.569 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.01639, allocations: 1.333 MB / 0.5703 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.01752, allocations: 1.091 MB / 0.5713 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.01771, allocations: 204 kB / 0.5715 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.01817, allocations: 371.8 kB / 0.5719 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.01843, allocations: 0.5136 MB / 0.5724 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.01885, allocations: 0.6892 MB / 0.573 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.02037, allocations: 2.445 MB / 0.5754 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.02037, allocations: 7.938 kB / 0.5754 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.02037, allocations: 0 / 0.5754 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.02039, allocations: 0 / 0.5754 GB, free: 7.438 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.007511/0.0279, allocations: 4.08 MB / 0.5794 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.02793, allocations: 12.03 kB / 0.5794 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.02806, allocations: 139.5 kB / 0.5796 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.02973, allocations: 0.577 MB / 0.5801 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.03096, allocations: 1.167 MB / 0.5813 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.03115, allocations: 324.2 kB / 0.5816 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.03131, allocations: 120 kB / 0.5817 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.03264, allocations: 1.104 MB / 0.5828 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.03266, allocations: 0 / 0.5828 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.03273, allocations: 36 kB / 0.5828 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.03274, allocations: 20 kB / 0.5828 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.03426, allocations: 1.202 MB / 0.584 GB, free: 14.52 MB / 0.5105 GB 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.004305/0.03857, allocations: 3.343 MB / 0.5873 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.04034, allocations: 1.326 MB / 0.5886 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009159/0.04126, allocations: 0.733 MB / 0.5893 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.04134, allocations: 17.3 kB / 0.5893 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.04137, allocations: 51.81 kB / 0.5893 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=133): time 2.174e-06/0.04137, allocations: 0 / 0.5893 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133): time 0.01495/0.05633, allocations: 6.88 MB / 0.5961 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.05636, allocations: 68.66 kB / 0.5961 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.05782, allocations: 1.667 MB / 0.5978 GB, free: 352 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.05791, allocations: 53.7 kB / 0.5978 GB, free: 292 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.1749/0.2328, allocations: 0.5506 MB / 0.5983 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/0.2334, allocations: 0.5245 MB / 0.5989 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/0.234, allocations: 0.5144 MB / 0.5994 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.562e-05/0.2341, allocations: 307.7 kB / 0.5997 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.2355, allocations: 1.156 MB / 0.6008 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.2369, allocations: 1.379 MB / 0.6021 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.2395, allocations: 2.368 MB / 0.6044 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.2395, allocations: 1.812 kB / 0.6044 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.005832/0.2453, allocations: 4.307 MB / 0.6086 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2454, allocations: 5.844 kB / 0.6087 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2454, allocations: 9.062 kB / 0.6087 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005788/0.2512, allocations: 2.889 MB / 0.6115 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.2523, allocations: 487.7 kB / 0.6119 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.2556, allocations: 2.554 MB / 0.6144 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.2569, allocations: 261.3 kB / 0.6147 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.257, allocations: 92.92 kB / 0.6148 GB, free: 87.04 MB / 0.5105 GB 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 (284): * Single equations (assignments): 283 * 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.0004108/0.2574, allocations: 315.4 kB / 0.6151 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.2576, allocations: 177.9 kB / 0.6153 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.2641, allocations: 3.578 MB / 0.6187 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2641, allocations: 13.22 kB / 0.6188 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2641, allocations: 2.766 kB / 0.6188 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.2641, allocations: 6.516 kB / 0.6188 GB, free: 85.71 MB / 0.5105 GB 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.007821/0.2719, allocations: 4.861 MB / 0.6235 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2719, allocations: 5.781 kB / 0.6235 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.2724, allocations: 172.3 kB / 0.6237 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/0.2756, allocations: 1.539 MB / 0.6252 GB, free: 83.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.2757, allocations: 29.03 kB / 0.6252 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.2867, allocations: 7.723 MB / 0.6328 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2867, allocations: 0 / 0.6328 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.2936, allocations: 4.615 MB / 0.6373 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.2938, allocations: 237 kB / 0.6375 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.294, allocations: 23.72 kB / 0.6375 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.2947, allocations: 81.92 kB / 0.6376 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.295, allocations: 207 kB / 0.6378 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.295, allocations: 36.23 kB / 0.6378 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008871/0.2959, allocations: 1.088 MB / 0.6389 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.2959, allocations: 0 / 0.6389 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009248/0.2968, allocations: 0.6021 MB / 0.6395 GB, free: 77.78 MB / 0.5105 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 (96): * Single equations (assignments): 95 * 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.006558/0.3034, allocations: 5.225 MB / 0.6446 GB, free: 72.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004106/0.3075, allocations: 2.816 MB / 0.6473 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3075, allocations: 0 / 0.6473 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.3096, allocations: 1.494 MB / 0.6488 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.3103, allocations: 137.2 kB / 0.6489 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.3293, allocations: 18.33 MB / 0.6668 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3296, allocations: 0.658 MB / 0.6675 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003416/0.3299, allocations: 155.4 kB / 0.6676 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.3304, allocations: 0.637 MB / 0.6682 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/0.3304, allocations: 4 kB / 0.6682 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04287/0.3733, allocations: 47.05 MB / 0.7142 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.289/9.662, allocations: 12.72 kB / 0.7142 GB, free: 1.602 MB / 0.5105 GB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.998206296004355] Failed to read output from testmodel.py, exit status != 0: 9.771128971129656 9.78223734 9.759718977 Calling exit ...