Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_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.001652/0.001652, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.434/1.434, allocations: 230.6 MB / 252.7 MB, free: 8.285 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.001771/0.001771, allocations: 212.6 kB / 309.2 MB, free: 3.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.453/0.453, allocations: 79.75 MB / 445.4 MB, free: 14.82 MB / 318.1 MB " [Timeout remaining time 179] 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.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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_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.002667/0.002667, allocations: 83.88 kB / 0.5929 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1477, allocations: 73.31 MB / 0.6645 GB, free: 4.52 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.009136/0.1568, allocations: 7.002 MB / 0.6713 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.1623, allocations: 2.34 MB / 0.6736 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.1636, allocations: 8 kB / 0.6736 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.1646, allocations: 257.9 kB / 0.6739 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.1687, allocations: 1.297 MB / 0.6751 GB, free: 9.586 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1701, allocations: 0.4943 MB / 0.6756 GB, free: 9.094 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003165/0.1733, allocations: 2.019 MB / 0.6776 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.1738, allocations: 173.7 kB / 0.6778 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.1752, allocations: 0.8056 MB / 0.6786 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.1769, allocations: 1.051 MB / 0.6796 GB, free: 5.023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005815/0.1775, allocations: 156 kB / 0.6797 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1785, allocations: 343.8 kB / 0.6801 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006943/0.1792, allocations: 406.5 kB / 0.6804 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.1806, allocations: 0.7731 MB / 0.6812 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.1838, allocations: 1.902 MB / 0.6831 GB, free: 1.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1838, allocations: 0 / 0.6831 GB, free: 1.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1838, allocations: 4 kB / 0.6831 GB, free: 1.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.9e-05/0.1839, allocations: 4 kB / 0.6831 GB, free: 1.441 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01626/0.2002, allocations: 3.869 MB / 0.6868 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.2002, allocations: 11.98 kB / 0.6869 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.2004, allocations: 118.7 kB / 0.687 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.2035, allocations: 0.5266 MB / 0.6875 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.2052, allocations: 0.9171 MB / 0.6884 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.2055, allocations: 282.3 kB / 0.6886 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.2057, allocations: 99.94 kB / 0.6887 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.2078, allocations: 0.9754 MB / 0.6897 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.2078, allocations: 4 kB / 0.6897 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.2079, allocations: 28 kB / 0.6897 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.2079, allocations: 16 kB / 0.6897 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.2105, allocations: 1.093 MB / 0.6908 GB, free: 9.375 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 preOpt removeSimpleEquations (simulation): time 0.006566/0.2171, allocations: 3.701 MB / 0.6944 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.22, allocations: 1.137 MB / 0.6955 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.2215, allocations: 0.6518 MB / 0.6962 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.2216, allocations: 20.97 kB / 0.6962 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.2217, allocations: 43.56 kB / 0.6962 GB, free: 3.637 MB / 494.1 MB Notification: Performance of pre-optimization done (n=103): time 3.486e-06/0.2217, allocations: 4 kB / 0.6962 GB, free: 3.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.2968/0.5185, allocations: 5.489 MB / 0.7016 GB, free: 34.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.5186, allocations: 67.03 kB / 0.7017 GB, free: 34.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.5204, allocations: 1.279 MB / 0.7029 GB, free: 34.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.5206, allocations: 52.83 kB / 0.703 GB, free: 34.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.521, allocations: 483.3 kB / 0.7034 GB, free: 34.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/0.5213, allocations: 409.3 kB / 0.7038 GB, free: 34.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/0.5219, allocations: 385.2 kB / 0.7042 GB, free: 34.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.522, allocations: 302.8 kB / 0.7045 GB, free: 33.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.5239, allocations: 0.9464 MB / 0.7054 GB, free: 33.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.526, allocations: 1.108 MB / 0.7065 GB, free: 33.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.5298, allocations: 1.934 MB / 0.7084 GB, free: 33.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5298, allocations: 1.781 kB / 0.7084 GB, free: 33.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006594/0.5364, allocations: 3.007 MB / 0.7113 GB, free: 32.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5364, allocations: 6.406 kB / 0.7113 GB, free: 32.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5364, allocations: 1.75 kB / 0.7113 GB, free: 32.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00899/0.5454, allocations: 2.276 MB / 0.7135 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.5471, allocations: 359.1 kB / 0.7139 GB, free: 31.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/0.552, allocations: 2.281 MB / 0.7161 GB, free: 30.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.5541, allocations: 222 kB / 0.7163 GB, free: 30.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.5543, allocations: 67.59 kB / 0.7164 GB, free: 30.46 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 (204): * Single equations (assignments): 203 * 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.0004372/0.5547, allocations: 264.5 kB / 0.7166 GB, free: 30.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.5549, allocations: 141.5 kB / 0.7168 GB, free: 30.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.5653, allocations: 3.316 MB / 0.72 GB, free: 29.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.5653, allocations: 10.12 kB / 0.72 GB, free: 29.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5653, allocations: 2.172 kB / 0.72 GB, free: 29.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/0.5653, allocations: 7.031 kB / 0.72 GB, free: 29.32 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.01175/0.5771, allocations: 4.97 MB / 0.7249 GB, free: 27.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.5771, allocations: 0.8438 kB / 0.7249 GB, free: 27.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007795/0.5778, allocations: 139.9 kB / 0.725 GB, free: 27.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/0.5828, allocations: 1.435 MB / 0.7264 GB, free: 26.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.583, allocations: 29.94 kB / 0.7264 GB, free: 26.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.5995, allocations: 7.733 MB / 0.734 GB, free: 21.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5995, allocations: 3.938 kB / 0.734 GB, free: 21.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.6105, allocations: 4.214 MB / 0.7381 GB, free: 18.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.611, allocations: 182 kB / 0.7383 GB, free: 18.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.6112, allocations: 24 kB / 0.7383 GB, free: 18.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.6123, allocations: 87.91 kB / 0.7384 GB, free: 18.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005038/0.6128, allocations: 196.4 kB / 0.7386 GB, free: 18.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.6129, allocations: 24 kB / 0.7386 GB, free: 18.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009182/0.6138, allocations: 0.8539 MB / 0.7394 GB, free: 17.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6138, allocations: 4 kB / 0.7394 GB, free: 17.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001183/0.615, allocations: 487.4 kB / 0.7399 GB, free: 17.13 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 (71): * Single equations (assignments): 70 * 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.01031/0.6253, allocations: 4.68 MB / 0.7445 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00602/0.6313, allocations: 2.288 MB / 0.7467 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6313, allocations: 0 / 0.7467 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/0.6348, allocations: 1.29 MB / 0.748 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6358, allocations: 107.3 kB / 0.7481 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/0.6607, allocations: 14.64 MB / 0.7624 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.6615, allocations: 1.112 MB / 0.7635 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005138/0.662, allocations: 124.7 kB / 0.7636 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/0.6628, allocations: 0.4954 MB / 0.7641 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of SimCode: time 1.093e-06/0.6628, allocations: 0 / 0.7641 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08788/0.7507, allocations: 37.7 MB / 0.8009 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.14, allocations: 416 / 0.8009 GB, free: 2.688 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_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_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.554609861002973] Failed to read output from testmodel.py, exit status != 0: 16.27112483399833 16.290724293 16.102616246 Calling exit ...