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.001693/0.001693, allocations: 106.6 kB / 16.45 MB, free: 6.5 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.512/1.512, allocations: 230.6 MB / 249.8 MB, free: 9.234 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.002513/0.002513, allocations: 218.2 kB / 306 MB, free: 4.305 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.4882/0.4882, allocations: 79.71 MB / 441.8 MB, free: 164 kB / 302.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.002427/0.002427, allocations: 79.88 kB / 0.5878 GB, free: 1.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1571, allocations: 73.27 MB / 0.6593 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008449/0.1656, allocations: 6.991 MB / 0.6662 GB, free: 1.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005284/0.1709, allocations: 2.321 MB / 0.6684 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.1719, allocations: 12 kB / 0.6684 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007525/0.1727, allocations: 261.8 kB / 0.6687 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.1764, allocations: 1.289 MB / 0.6699 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1776, allocations: 0.5029 MB / 0.6704 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.1806, allocations: 2.015 MB / 0.6724 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.181, allocations: 168.8 kB / 0.6726 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.1824, allocations: 0.8017 MB / 0.6734 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.1838, allocations: 1.047 MB / 0.6744 GB, free: 8.805 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.184, allocations: 160 kB / 0.6745 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008012/0.1848, allocations: 343.8 kB / 0.6749 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.1852, allocations: 410.5 kB / 0.6752 GB, free: 7.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000809/0.186, allocations: 0.7731 MB / 0.676 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.1887, allocations: 1.91 MB / 0.6779 GB, free: 5.215 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1887, allocations: 0 / 0.6779 GB, free: 5.215 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1887, allocations: 0 / 0.6779 GB, free: 5.215 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.404e-05/0.1888, allocations: 4 kB / 0.6779 GB, free: 5.211 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.01686/0.2056, allocations: 3.936 MB / 0.6817 GB, free: 1.211 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.2057, allocations: 12.03 kB / 0.6817 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.2059, allocations: 122.6 kB / 0.6818 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/0.2094, allocations: 0.5227 MB / 0.6824 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.2113, allocations: 0.9868 MB / 0.6833 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.2117, allocations: 234.9 kB / 0.6835 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.2119, allocations: 91.95 kB / 0.6836 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.2142, allocations: 0.9794 MB / 0.6846 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2143, allocations: 0 / 0.6846 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.2144, allocations: 28 kB / 0.6846 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.2144, allocations: 16 kB / 0.6846 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.2172, allocations: 1.089 MB / 0.6857 GB, free: 13.04 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.007704/0.2249, allocations: 3.743 MB / 0.6893 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.2283, allocations: 1.6 MB / 0.6909 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.2299, allocations: 0.6518 MB / 0.6915 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.23, allocations: 16.98 kB / 0.6916 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.23, allocations: 43.56 kB / 0.6916 GB, free: 6.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=103): time 3.386e-06/0.2301, allocations: 0 / 0.6916 GB, free: 6.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.02368/0.2537, allocations: 5.573 MB / 0.697 GB, free: 1.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.2538, allocations: 68.34 kB / 0.6971 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2919/0.5457, allocations: 1.278 MB / 0.6984 GB, free: 35.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003576/0.5461, allocations: 46.95 kB / 0.6984 GB, free: 35.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.5465, allocations: 480 kB / 0.6989 GB, free: 35.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.5469, allocations: 408.1 kB / 0.6992 GB, free: 35.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006932/0.5476, allocations: 387.2 kB / 0.6996 GB, free: 35.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.5476, allocations: 305.9 kB / 0.6999 GB, free: 34.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.5498, allocations: 0.9428 MB / 0.7008 GB, free: 34.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.5521, allocations: 1.109 MB / 0.7019 GB, free: 34.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.5564, allocations: 1.935 MB / 0.7038 GB, free: 34.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.5565, allocations: 0.9688 kB / 0.7038 GB, free: 34.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007472/0.5639, allocations: 3.012 MB / 0.7067 GB, free: 33.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.564, allocations: 6.688 kB / 0.7068 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.564, allocations: 5.469 kB / 0.7068 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.5741, allocations: 2.272 MB / 0.709 GB, free: 33.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.5761, allocations: 360.2 kB / 0.7093 GB, free: 33.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.5819, allocations: 2.274 MB / 0.7115 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.5843, allocations: 220.6 kB / 0.7117 GB, free: 31.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.5844, allocations: 66.44 kB / 0.7118 GB, free: 31.8 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.0005001/0.5849, allocations: 265.6 kB / 0.7121 GB, free: 31.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.5852, allocations: 142.1 kB / 0.7122 GB, free: 31.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.5967, allocations: 3.321 MB / 0.7154 GB, free: 30.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5967, allocations: 10.97 kB / 0.7155 GB, free: 30.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.5967, allocations: 4.5 kB / 0.7155 GB, free: 30.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/0.5968, allocations: 5.531 kB / 0.7155 GB, free: 30.66 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.014/0.6108, allocations: 5.003 MB / 0.7204 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.6108, allocations: 1.562 kB / 0.7204 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009162/0.6117, allocations: 128.2 kB / 0.7205 GB, free: 28.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005514/0.6172, allocations: 1.448 MB / 0.7219 GB, free: 28.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/0.6174, allocations: 21.09 kB / 0.7219 GB, free: 28.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.6361, allocations: 7.844 MB / 0.7296 GB, free: 23.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6361, allocations: 1.688 kB / 0.7296 GB, free: 23.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.6493, allocations: 4.215 MB / 0.7337 GB, free: 21.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.65, allocations: 258.6 kB / 0.7339 GB, free: 21.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/0.6505, allocations: 19.48 kB / 0.734 GB, free: 21.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.6523, allocations: 92.56 kB / 0.734 GB, free: 21.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007706/0.6531, allocations: 193 kB / 0.7342 GB, free: 21.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.6533, allocations: 29.03 kB / 0.7343 GB, free: 21.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.6549, allocations: 0.85 MB / 0.7351 GB, free: 20.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6549, allocations: 0 / 0.7351 GB, free: 20.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002204/0.6571, allocations: 477.3 kB / 0.7355 GB, free: 20.43 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.01209/0.6692, allocations: 4.687 MB / 0.7401 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007438/0.6766, allocations: 2.277 MB / 0.7423 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6766, allocations: 0 / 0.7423 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/0.6808, allocations: 1.301 MB / 0.7436 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.6825, allocations: 106.6 kB / 0.7437 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/0.7127, allocations: 14.63 MB / 0.758 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.7137, allocations: 1.112 MB / 0.7591 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007429/0.7145, allocations: 124.6 kB / 0.7592 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.7156, allocations: 0.4953 MB / 0.7597 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.7156, allocations: 4 kB / 0.7597 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09241/0.808, allocations: 36.67 MB / 0.7955 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.62, allocations: 8.75 kB / 0.7955 GB, free: 7.008 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.285414588011918] Failed to read output from testmodel.py, exit status != 0: 15.736005473998375 15.7556816 15.562438071 Calling exit ...