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.001844/0.001844, 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.58/1.58, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.001621/0.001621, allocations: 222 kB / 309.2 MB, free: 2.934 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.604/0.604, 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.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.002556/0.002556, allocations: 89.75 kB / 0.633 GB, free: 5.039 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.554, allocations: 80.14 MB / 0.7113 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006296/0.5603, allocations: 6.136 MB / 0.7173 GB, free: 60 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005478/0.5658, allocations: 2.216 MB / 0.7194 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.5672, allocations: 8.875 kB / 0.7195 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009351/0.5682, allocations: 256 kB / 0.7197 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.5721, allocations: 0.9871 MB / 0.7207 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.5738, allocations: 0.5756 MB / 0.7212 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003271/0.5771, allocations: 1.857 MB / 0.723 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.5776, allocations: 165.3 kB / 0.7232 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.5792, allocations: 0.7733 MB / 0.7239 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.5811, allocations: 0.931 MB / 0.7249 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003916/0.5815, allocations: 155.2 kB / 0.725 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000946/0.5824, allocations: 328.8 kB / 0.7253 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.5829, allocations: 397.3 kB / 0.7257 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.5838, allocations: 0.6447 MB / 0.7263 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.5874, allocations: 1.897 MB / 0.7282 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5874, allocations: 0.5 kB / 0.7282 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.564e-06/0.5874, allocations: 4 kB / 0.7282 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.264e-05/0.5875, allocations: 1 kB / 0.7282 GB, free: 10.28 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0157/0.6032, allocations: 3.31 MB / 0.7314 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6032, allocations: 9.75 kB / 0.7314 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004954/0.6037, allocations: 117.4 kB / 0.7315 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.6076, allocations: 0.5324 MB / 0.7321 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.6107, allocations: 0.9206 MB / 0.733 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/0.6112, allocations: 291.3 kB / 0.7332 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005605/0.6117, allocations: 87.75 kB / 0.7333 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.6149, allocations: 0.9962 MB / 0.7343 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.6149, allocations: 0 / 0.7343 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.615, allocations: 29.91 kB / 0.7343 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6151, allocations: 20.56 kB / 0.7343 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.6182, allocations: 1.103 MB / 0.7354 GB, free: 6.398 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.008472/0.6267, allocations: 2.739 MB / 0.7381 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.6302, allocations: 1.16 MB / 0.7392 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.6319, allocations: 0.6618 MB / 0.7399 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.6321, allocations: 16.28 kB / 0.7399 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.6321, allocations: 44.22 kB / 0.7399 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 3.567e-06/0.6321, allocations: 0 / 0.7399 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.02879/0.6609, allocations: 6.415 MB / 0.7462 GB, free: 392 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.661, allocations: 63.12 kB / 0.7463 GB, free: 324 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.6643, allocations: 1.29 MB / 0.7475 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005283/0.6648, allocations: 50.8 kB / 0.7476 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.6655, allocations: 482.2 kB / 0.748 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008648/0.6664, allocations: 418.5 kB / 0.7484 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/0.668, allocations: 385.7 kB / 0.7488 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6681, allocations: 302.2 kB / 0.7491 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.6708, allocations: 0.9576 MB / 0.75 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/0.6737, allocations: 1.124 MB / 0.7511 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.6786, allocations: 1.962 MB / 0.753 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.6787, allocations: 1.062 kB / 0.753 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009754/0.6884, allocations: 3.284 MB / 0.7562 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.6884, allocations: 8 kB / 0.7562 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.6885, allocations: 0 / 0.7562 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009769/0.6982, allocations: 2.331 MB / 0.7585 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.7002, allocations: 359.5 kB / 0.7589 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.7067, allocations: 2.3 MB / 0.7611 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/0.7096, allocations: 230.7 kB / 0.7613 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/0.71, allocations: 75.92 kB / 0.7614 GB, free: 3.707 MB / 0.5137 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 (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.0009513/0.711, allocations: 265.5 kB / 0.7617 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/0.7116, allocations: 147.1 kB / 0.7618 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.7238, allocations: 3.385 MB / 0.7651 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.7238, allocations: 8 kB / 0.7651 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.7238, allocations: 4 kB / 0.7651 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/0.7238, allocations: 7.984 kB / 0.7651 GB, free: 15.88 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.01576/0.7396, allocations: 4.445 MB / 0.7695 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.7396, allocations: 0 / 0.7695 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7407, allocations: 135.8 kB / 0.7696 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00609/0.7467, allocations: 1.496 MB / 0.771 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003222/0.7471, allocations: 16 kB / 0.7711 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02208/0.7691, allocations: 7.728 MB / 0.7786 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7691, allocations: 0 / 0.7786 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.7839, allocations: 4.326 MB / 0.7828 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/0.7848, allocations: 178.8 kB / 0.783 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006797/0.7855, allocations: 19.94 kB / 0.783 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.7874, allocations: 103.9 kB / 0.7831 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007574/0.7881, allocations: 188.7 kB / 0.7833 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/0.7883, allocations: 35.98 kB / 0.7833 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001723/0.79, allocations: 0.8434 MB / 0.7842 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.79, allocations: 0 / 0.7842 GB, free: 12.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002265/0.7923, allocations: 483.7 kB / 0.7846 GB, free: 11.69 MB / 0.545 GB 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.01445/0.8067, allocations: 4.794 MB / 0.7893 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008675/0.8154, allocations: 2.328 MB / 0.7916 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8154, allocations: 0 / 0.7916 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005049/0.8205, allocations: 1.329 MB / 0.7929 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.8225, allocations: 112.7 kB / 0.793 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/0.8608, allocations: 15.13 MB / 0.8078 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.8615, allocations: 0.5254 MB / 0.8083 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.8624, allocations: 128.9 kB / 0.8084 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.8635, allocations: 0.4915 MB / 0.8089 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.8635, allocations: 0 / 0.8089 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/0.9555, allocations: 37.55 MB / 0.8455 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.81, allocations: 4 kB / 0.8455 GB, free: 13.18 MB / 0.6075 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.64211362088099] Failed to read output from testmodel.py, exit status != 0: 15.947196017950773 15.963946096 15.372927906 Calling exit ...