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.0007965/0.0007965, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8742/0.8742, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.0009703/0.0009703, allocations: 156.5 kB / 256 MB, free: 13.35 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.2694/0.2694, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 180] 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.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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5548 GB, free: 12.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.142e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.37 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.004766/0.004778, allocations: 6.122 MB / 0.5607 GB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.007486, allocations: 2.219 MB / 0.5629 GB, free: 3.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.007767, allocations: 8 kB / 0.5629 GB, free: 3.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.008141, allocations: 257.8 kB / 0.5632 GB, free: 3.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.009399, allocations: 0.9945 MB / 0.5641 GB, free: 2.727 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.01001, allocations: 0.5949 MB / 0.5647 GB, free: 2.137 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.01116, allocations: 1.9 MB / 0.5666 GB, free: 236 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.01144, allocations: 161.5 kB / 0.5667 GB, free: 56 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1775/0.1889, allocations: 1.045 MB / 0.5677 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/0.1897, allocations: 0.826 MB / 0.5685 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.1899, allocations: 158.3 kB / 0.5687 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.1904, allocations: 324.9 kB / 0.569 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.1906, allocations: 404.4 kB / 0.5694 GB, free: 15.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.191, allocations: 0.5386 MB / 0.5699 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1924, allocations: 1.952 MB / 0.5718 GB, free: 15.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1924, allocations: 1.672 kB / 0.5718 GB, free: 15.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1924, allocations: 0.625 kB / 0.5718 GB, free: 15.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.1925, allocations: 0 / 0.5718 GB, free: 15.28 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.006245/0.1987, allocations: 3.292 MB / 0.575 GB, free: 14.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1987, allocations: 9.625 kB / 0.5751 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.1989, allocations: 118.2 kB / 0.5752 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.2004, allocations: 0.5276 MB / 0.5757 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.2014, allocations: 0.9232 MB / 0.5766 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.2016, allocations: 294.8 kB / 0.5769 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2017, allocations: 96.56 kB / 0.577 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2031, allocations: 0.9884 MB / 0.5779 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2031, allocations: 5.734 kB / 0.5779 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.2032, allocations: 29.41 kB / 0.578 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.2032, allocations: 17.53 kB / 0.578 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.2048, allocations: 1.099 MB / 0.579 GB, free: 12.8 MB / 442.7 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.004346/0.2092, allocations: 2.735 MB / 0.5817 GB, free: 11.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.2112, allocations: 1.163 MB / 0.5828 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.2121, allocations: 0.659 MB / 0.5835 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/0.2122, allocations: 18.53 kB / 0.5835 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.2122, allocations: 41.16 kB / 0.5835 GB, free: 10.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=105): time 2.164e-06/0.2122, allocations: 0 / 0.5835 GB, free: 10.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=105): time 0.01387/0.2261, allocations: 6.426 MB / 0.5898 GB, free: 8.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2261, allocations: 63.12 kB / 0.5899 GB, free: 8.738 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.2273, allocations: 1.287 MB / 0.5911 GB, free: 8.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/0.2274, allocations: 51.05 kB / 0.5912 GB, free: 7.961 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.2276, allocations: 485.5 kB / 0.5917 GB, free: 7.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.2279, allocations: 414.6 kB / 0.592 GB, free: 7.195 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/0.2283, allocations: 383.6 kB / 0.5924 GB, free: 6.969 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.289e-05/0.2283, allocations: 301.1 kB / 0.5927 GB, free: 6.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.2296, allocations: 0.9619 MB / 0.5936 GB, free: 6.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.2309, allocations: 1.12 MB / 0.5947 GB, free: 5.562 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.2334, allocations: 1.954 MB / 0.5966 GB, free: 4.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.2334, allocations: 1.375 kB / 0.5966 GB, free: 4.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004497/0.2379, allocations: 3.286 MB / 0.5999 GB, free: 2.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2379, allocations: 10.09 kB / 0.5999 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2379, allocations: 3.562 kB / 0.5999 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004504/0.2424, allocations: 2.34 MB / 0.6022 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.2432, allocations: 355.2 kB / 0.6025 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.2461, allocations: 2.302 MB / 0.6047 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.2471, allocations: 226.8 kB / 0.605 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.2472, allocations: 67.97 kB / 0.605 GB, free: 15.04 MB / 458.7 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 (206): * Single equations (assignments): 205 * 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.0003637/0.2476, allocations: 270.8 kB / 0.6053 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.2477, allocations: 143 kB / 0.6054 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0061/0.2538, allocations: 3.387 MB / 0.6087 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.2538, allocations: 19.94 kB / 0.6087 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2538, allocations: 0 / 0.6087 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.2539, allocations: 7.969 kB / 0.6087 GB, free: 11.24 MB / 458.7 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.007083/0.2609, allocations: 4.44 MB / 0.6131 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2609, allocations: 0 / 0.6131 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.2613, allocations: 130.9 kB / 0.6132 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.2644, allocations: 1.488 MB / 0.6147 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.2645, allocations: 27.98 kB / 0.6147 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.2757, allocations: 7.731 MB / 0.6222 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2757, allocations: 0 / 0.6222 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007094/0.2828, allocations: 4.322 MB / 0.6265 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.283, allocations: 181.3 kB / 0.6266 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.2832, allocations: 23.94 kB / 0.6267 GB, free: 8.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.2838, allocations: 103.8 kB / 0.6268 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.2841, allocations: 184.7 kB / 0.6269 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.2842, allocations: 31.98 kB / 0.627 GB, free: 8.508 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007831/0.285, allocations: 0.8508 MB / 0.6278 GB, free: 7.656 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.285, allocations: 4 kB / 0.6278 GB, free: 7.652 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009523/0.2859, allocations: 483.7 kB / 0.6283 GB, free: 7.18 MB / 474.7 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 (73): * Single equations (assignments): 72 * 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.007298/0.2932, allocations: 4.787 MB / 0.6329 GB, free: 2.391 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.2972, allocations: 2.326 MB / 0.6352 GB, free: 88 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2972, allocations: 0 / 0.6352 GB, free: 88 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.2997, allocations: 1.337 MB / 0.6365 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.3003, allocations: 110.6 kB / 0.6366 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.3174, allocations: 14.17 MB / 0.6505 GB, free: 384 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3177, allocations: 0.5215 MB / 0.651 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002994/0.318, allocations: 120.9 kB / 0.6511 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.3185, allocations: 0.4964 MB / 0.6516 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.3185, allocations: 4 kB / 0.6516 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/0.3622, allocations: 37.81 MB / 0.6885 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/9.006, allocations: 13.59 kB / 0.6885 GB, free: 9.633 MB / 0.5261 GB " [Timeout remaining time 651] (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: 11.262872039340436] Failed to read output from testmodel.py, exit status != 0: 9.112390741705894 9.121869177 8.927735711 Calling exit ...