Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001469/0.001469, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 252.7 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] 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.002011/0.002011, allocations: 218.4 kB / 309.2 MB, free: 2.941 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6693/0.6693, allocations: 107.3 MB / 473 MB, free: 4.418 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 85.91 kB / 0.6332 GB, free: 4.969 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5823, allocations: 80.17 MB / 0.7115 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008648/0.5909, allocations: 7.184 MB / 0.7185 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007586/0.5985, allocations: 2.528 MB / 0.721 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.6011, allocations: 10.47 kB / 0.721 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.6024, allocations: 304.7 kB / 0.7213 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.6079, allocations: 1.17 MB / 0.7224 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.6101, allocations: 0.6884 MB / 0.7231 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004815/0.6149, allocations: 2.375 MB / 0.7254 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.6155, allocations: 206.4 kB / 0.7256 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.618, allocations: 0.9909 MB / 0.7266 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.6208, allocations: 1.217 MB / 0.7278 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000696/0.6215, allocations: 207.7 kB / 0.728 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.6229, allocations: 375.7 kB / 0.7283 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006521/0.6235, allocations: 0.502 MB / 0.7288 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.625, allocations: 0.8179 MB / 0.7296 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.6299, allocations: 2.377 MB / 0.7319 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.6299, allocations: 1.438 kB / 0.7319 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6299, allocations: 0 / 0.7319 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.275e-05/0.63, allocations: 0 / 0.7319 GB, free: 7.93 MB / 0.4981 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.01844/0.6485, allocations: 4.099 MB / 0.7359 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.6485, allocations: 9.125 kB / 0.736 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.6488, allocations: 143.5 kB / 0.7361 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.6528, allocations: 0.5855 MB / 0.7367 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.656, allocations: 1.159 MB / 0.7378 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000441/0.6565, allocations: 334.3 kB / 0.7381 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.6568, allocations: 114.2 kB / 0.7382 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.6595, allocations: 1.106 MB / 0.7393 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.6595, allocations: 4 kB / 0.7393 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.6596, allocations: 35.66 kB / 0.7393 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.6597, allocations: 25.53 kB / 0.7394 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/0.6624, allocations: 1.187 MB / 0.7405 GB, free: 2.777 MB / 0.4981 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.009857/0.6723, allocations: 3.342 MB / 0.7438 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.6758, allocations: 1.326 MB / 0.7451 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.6775, allocations: 0.7315 MB / 0.7458 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.6776, allocations: 19.06 kB / 0.7458 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.6777, allocations: 50.17 kB / 0.7459 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 3.897e-06/0.6777, allocations: 0 / 0.7459 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133): time 0.0303/0.708, allocations: 6.895 MB / 0.7526 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.7081, allocations: 65.09 kB / 0.7527 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004833/0.7129, allocations: 1.666 MB / 0.7543 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006354/0.7136, allocations: 60.86 kB / 0.7543 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/0.7145, allocations: 0.5506 MB / 0.7549 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/0.7158, allocations: 0.5237 MB / 0.7554 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/0.718, allocations: 0.5203 MB / 0.7559 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.7182, allocations: 305.1 kB / 0.7562 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.7208, allocations: 1.157 MB / 0.7573 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.7236, allocations: 1.376 MB / 0.7587 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.7285, allocations: 2.37 MB / 0.761 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.7285, allocations: 0 / 0.761 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01164/0.7402, allocations: 4.31 MB / 0.7652 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.7402, allocations: 14.12 kB / 0.7652 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.7402, allocations: 3.938 kB / 0.7652 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.7517, allocations: 2.893 MB / 0.768 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/0.7544, allocations: 487.3 kB / 0.7685 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.7608, allocations: 2.553 MB / 0.771 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.7641, allocations: 258.4 kB / 0.7712 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/0.7645, allocations: 87.97 kB / 0.7713 GB, free: 9.453 MB / 0.5294 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.001115/0.7656, allocations: 313.3 kB / 0.7716 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/0.7663, allocations: 178.8 kB / 0.7718 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.7783, allocations: 3.581 MB / 0.7753 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.7784, allocations: 16 kB / 0.7753 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7784, allocations: 0 / 0.7753 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-05/0.7784, allocations: 7.922 kB / 0.7753 GB, free: 5.344 MB / 0.5294 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.01667/0.7951, allocations: 4.862 MB / 0.7801 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.7951, allocations: 4 kB / 0.7801 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.7964, allocations: 175.8 kB / 0.7802 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006143/0.8025, allocations: 1.531 MB / 0.7817 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003396/0.8029, allocations: 35.92 kB / 0.7818 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/0.8247, allocations: 7.701 MB / 0.7893 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8247, allocations: 3.938 kB / 0.7893 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.8399, allocations: 4.625 MB / 0.7938 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.841, allocations: 234.5 kB / 0.794 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008815/0.8419, allocations: 20 kB / 0.794 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/0.8441, allocations: 87.91 kB / 0.7941 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007892/0.8449, allocations: 201.4 kB / 0.7943 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/0.8451, allocations: 35.98 kB / 0.7944 GB, free: 1.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002374/0.8475, allocations: 1.09 MB / 0.7954 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8475, allocations: 0 / 0.7954 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003013/0.8505, allocations: 0.5974 MB / 0.796 GB, free: 15.94 MB / 0.5606 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.01532/0.8658, allocations: 5.231 MB / 0.8011 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0102/0.876, allocations: 2.807 MB / 0.8039 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.876, allocations: 0 / 0.8039 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005497/0.8815, allocations: 1.504 MB / 0.8053 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.8842, allocations: 133.5 kB / 0.8054 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04994/0.9341, allocations: 18.93 MB / 0.8239 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009582/0.9351, allocations: 0.6582 MB / 0.8246 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001173/0.9363, allocations: 159.3 kB / 0.8247 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/0.9379, allocations: 0.6399 MB / 0.8254 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of SimCode: time 1.944e-06/0.9379, allocations: 0 / 0.8254 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/1.051, allocations: 46.75 MB / 0.871 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/17.14, allocations: 10.03 kB / 0.871 GB, free: 2.965 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.04142245091498] Failed to read output from testmodel.py, exit status != 0: 17.289678955916315 17.308271467 16.674591657 Calling exit ...