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.00148/0.00148, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.508/1.508, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.00173/0.00173, allocations: 223.1 kB / 309.2 MB, free: 2.957 MB / 238.1 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.618/0.618, allocations: 107.2 MB / 472.8 MB, free: 4.523 MB / 334.1 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: 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.002589/0.002589, allocations: 84.11 kB / 0.633 GB, free: 5.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5582, allocations: 80.13 MB / 0.7113 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008187/0.5664, allocations: 7.182 MB / 0.7183 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00689/0.5732, allocations: 2.528 MB / 0.7208 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.5749, allocations: 9.812 kB / 0.7208 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.5759, allocations: 298.2 kB / 0.7211 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.58, allocations: 1.184 MB / 0.7222 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.582, allocations: 0.6857 MB / 0.7229 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004386/0.5864, allocations: 2.372 MB / 0.7252 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.5869, allocations: 206.1 kB / 0.7254 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.5893, allocations: 0.9924 MB / 0.7264 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.592, allocations: 1.213 MB / 0.7276 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005439/0.5926, allocations: 203.8 kB / 0.7277 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5938, allocations: 379.5 kB / 0.7281 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006349/0.5945, allocations: 0.4985 MB / 0.7286 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.5959, allocations: 0.8251 MB / 0.7294 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.6008, allocations: 2.378 MB / 0.7317 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6008, allocations: 0.9688 kB / 0.7317 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.426e-06/0.6008, allocations: 0 / 0.7317 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.57e-05/0.6009, allocations: 0 / 0.7317 GB, free: 8.145 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.01838/0.6193, allocations: 4.098 MB / 0.7357 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.6194, allocations: 10.31 kB / 0.7357 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/0.6196, allocations: 135.2 kB / 0.7359 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003839/0.6234, allocations: 0.5937 MB / 0.7364 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.6263, allocations: 1.159 MB / 0.7376 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/0.6268, allocations: 329.2 kB / 0.7379 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.627, allocations: 118.5 kB / 0.738 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.6297, allocations: 1.113 MB / 0.7391 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.6297, allocations: 1.188 kB / 0.7391 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.6298, allocations: 33.94 kB / 0.7391 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.6299, allocations: 24.56 kB / 0.7391 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.6327, allocations: 1.189 MB / 0.7403 GB, free: 2.988 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.01021/0.6429, allocations: 3.345 MB / 0.7436 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.6464, allocations: 1.325 MB / 0.7449 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.6483, allocations: 0.7277 MB / 0.7456 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.6484, allocations: 23.05 kB / 0.7456 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.6485, allocations: 46.25 kB / 0.7456 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 4.739e-06/0.6485, allocations: 0 / 0.7456 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133): time 0.02968/0.6782, allocations: 6.891 MB / 0.7524 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.6783, allocations: 69.25 kB / 0.7524 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.6817, allocations: 1.665 MB / 0.7541 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005227/0.6823, allocations: 65.3 kB / 0.7541 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.6829, allocations: 0.551 MB / 0.7547 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009419/0.6838, allocations: 0.5268 MB / 0.7552 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.6848, allocations: 0.5164 MB / 0.7557 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.685, allocations: 305.1 kB / 0.756 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/0.6876, allocations: 1.157 MB / 0.7571 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/0.6903, allocations: 1.372 MB / 0.7584 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005184/0.6955, allocations: 2.374 MB / 0.7608 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.6955, allocations: 4 kB / 0.7608 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01203/0.7075, allocations: 4.306 MB / 0.765 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.7076, allocations: 11.94 kB / 0.765 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7076, allocations: 0 / 0.765 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.7192, allocations: 2.885 MB / 0.7678 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.7219, allocations: 495.3 kB / 0.7683 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006578/0.7285, allocations: 2.557 MB / 0.7708 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.7321, allocations: 254.4 kB / 0.771 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005119/0.7326, allocations: 91.97 kB / 0.7711 GB, free: 9.68 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.0008503/0.7335, allocations: 309.3 kB / 0.7714 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006018/0.7341, allocations: 182.8 kB / 0.7716 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.7456, allocations: 3.577 MB / 0.7751 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.7456, allocations: 12 kB / 0.7751 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.7456, allocations: 7.984 kB / 0.7751 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/0.7456, allocations: 3.984 kB / 0.7751 GB, free: 5.57 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.01506/0.7607, allocations: 4.87 MB / 0.7798 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.7607, allocations: 0 / 0.7798 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.762, allocations: 159.8 kB / 0.78 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006039/0.768, allocations: 1.539 MB / 0.7815 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003761/0.7684, allocations: 35.92 kB / 0.7815 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02199/0.7904, allocations: 7.701 MB / 0.7891 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7904, allocations: 0 / 0.7891 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.8057, allocations: 4.633 MB / 0.7936 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.8068, allocations: 234.5 kB / 0.7938 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008372/0.8076, allocations: 28 kB / 0.7938 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/0.8098, allocations: 87.91 kB / 0.7939 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008113/0.8106, allocations: 197.4 kB / 0.7941 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/0.8109, allocations: 39.98 kB / 0.7941 GB, free: 1.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002239/0.8131, allocations: 1.09 MB / 0.7952 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8131, allocations: 0 / 0.7952 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002976/0.8161, allocations: 0.5973 MB / 0.7958 GB, free: 168 kB / 0.545 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.01553/0.8316, allocations: 5.231 MB / 0.8009 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01001/0.8416, allocations: 2.799 MB / 0.8036 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8416, allocations: 0 / 0.8036 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005423/0.847, allocations: 1.508 MB / 0.8051 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.8498, allocations: 129.6 kB / 0.8052 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/0.8993, allocations: 18.93 MB / 0.8237 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.9003, allocations: 0.6543 MB / 0.8244 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001169/0.9015, allocations: 159.4 kB / 0.8245 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.903, allocations: 0.6399 MB / 0.8251 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.903, allocations: 0 / 0.8251 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.01, allocations: 46.76 MB / 0.8708 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.62, allocations: 8.047 kB / 0.8708 GB, free: 3.195 MB / 0.6231 GB " [Timeout remaining time 643] (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: 20.394801701884717] Failed to read output from testmodel.py, exit status != 0: 16.769153175875545 16.785200855 16.181089482 Calling exit ...