Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001375/0.001375, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] 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.001563/0.001563, allocations: 223.2 kB / 23.01 MB, free: 5.047 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9497/0.9497, allocations: 150 MB / 463.2 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001998/0.001998, allocations: 61.81 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1749, allocations: 89.17 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007757/0.1826, allocations: 5.66 MB / 0.7339 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.1873, allocations: 2.763 MB / 0.7366 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.1878, allocations: 27.75 kB / 0.7366 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.1899, allocations: 0.7156 MB / 0.7373 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.191, allocations: 425.7 kB / 0.7377 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.192, allocations: 397.9 kB / 0.7381 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1933, allocations: 0.9555 MB / 0.739 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006171/0.1939, allocations: 386.4 kB / 0.7394 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.1945, allocations: 382.6 kB / 0.7398 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.1952, allocations: 434.3 kB / 0.7402 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-05/0.1952, allocations: 52 kB / 0.7402 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007156/0.1959, allocations: 371.2 kB / 0.7406 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.1962, allocations: 251.2 kB / 0.7408 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.1966, allocations: 346.3 kB / 0.7411 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1978, allocations: 0.9766 MB / 0.7421 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1978, allocations: 4 kB / 0.7421 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1978, allocations: 0 / 0.7421 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.1978, allocations: 0 / 0.7421 GB, free: 3.152 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001665/0.1995, allocations: 0.9209 MB / 0.743 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1995, allocations: 12.03 kB / 0.743 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1996, allocations: 98.69 kB / 0.7431 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.201, allocations: 196.3 kB / 0.7433 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009783/0.202, allocations: 459.6 kB / 0.7437 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.202, allocations: 41.36 kB / 0.7438 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2022, allocations: 52.56 kB / 0.7438 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2035, allocations: 0.8316 MB / 0.7446 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.2036, allocations: 3.953 kB / 0.7446 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.2036, allocations: 23.98 kB / 0.7447 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.2038, allocations: 60.95 kB / 0.7447 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.2048, allocations: 0.5813 MB / 0.7453 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/0.2098, allocations: 4.489 MB / 0.7497 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.2103, allocations: 275.3 kB / 0.7499 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.2106, allocations: 221.3 kB / 0.7501 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.2107, allocations: 288 / 0.7501 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2107, allocations: 42.78 kB / 0.7502 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.2107, allocations: 0 / 0.7502 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005747/0.2164, allocations: 2.334 MB / 0.7525 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2165, allocations: 55.41 kB / 0.7525 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.2171, allocations: 466 kB / 0.753 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2171, allocations: 29.7 kB / 0.753 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.2174, allocations: 352.5 kB / 0.7533 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.2176, allocations: 150.7 kB / 0.7535 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.2177, allocations: 106.2 kB / 0.7536 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2179, allocations: 362.8 kB / 0.7539 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.2183, allocations: 241.2 kB / 0.7541 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.2188, allocations: 407.3 kB / 0.7545 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.2198, allocations: 0.6856 MB / 0.7552 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2198, allocations: 0 / 0.7552 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001751/0.2215, allocations: 0.9096 MB / 0.7561 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2215, allocations: 8.656 kB / 0.7561 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2216, allocations: 8 kB / 0.7561 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008207/0.2224, allocations: 218.4 kB / 0.7563 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.2229, allocations: 119.8 kB / 0.7564 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3047/0.5276, allocations: 5.017 MB / 0.7613 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.5281, allocations: 31.3 kB / 0.7614 GB, free: 32.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.5281, allocations: 28.78 kB / 0.7614 GB, free: 32.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.5284, allocations: 226.7 kB / 0.7616 GB, free: 32.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5285, allocations: 58.3 kB / 0.7617 GB, free: 32.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.5298, allocations: 0.7654 MB / 0.7624 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5298, allocations: 6.125 kB / 0.7624 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5298, allocations: 0.6875 kB / 0.7624 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5298, allocations: 6.875 kB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.5319, allocations: 1.454 MB / 0.7638 GB, free: 32.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.532, allocations: 2.375 kB / 0.7638 GB, free: 32.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.5323, allocations: 79.83 kB / 0.7639 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006376/0.5329, allocations: 203.5 kB / 0.7641 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.533, allocations: 9.188 kB / 0.7641 GB, free: 32.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/0.5367, allocations: 4.967 MB / 0.769 GB, free: 28.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5367, allocations: 2.969 kB / 0.769 GB, free: 28.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.5384, allocations: 1.129 MB / 0.7701 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5387, allocations: 94.78 kB / 0.7702 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.5388, allocations: 16.23 kB / 0.7702 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.5391, allocations: 22.98 kB / 0.7702 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.5392, allocations: 41.66 kB / 0.7702 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.5392, allocations: 15.33 kB / 0.7703 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003403/0.5396, allocations: 311.7 kB / 0.7706 GB, free: 28.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5396, allocations: 0 / 0.7706 GB, free: 28.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007474/0.5403, allocations: 170.8 kB / 0.7707 GB, free: 28.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/0.5422, allocations: 1.683 MB / 0.7724 GB, free: 27.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.5437, allocations: 0.9794 MB / 0.7733 GB, free: 26.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5437, allocations: 1.188 kB / 0.7733 GB, free: 26.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.5446, allocations: 0.6665 MB / 0.774 GB, free: 26.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.5455, allocations: 185.9 kB / 0.7742 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/0.5533, allocations: 5.613 MB / 0.7796 GB, free: 23.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.5538, allocations: 0.9463 MB / 0.7806 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.5542, allocations: 116.1 kB / 0.7807 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.5545, allocations: 205 kB / 0.7809 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.5545, allocations: 0.5 kB / 0.7809 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07356/0.628, allocations: 14.66 MB / 0.7952 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.49, allocations: 10.36 kB / 0.7952 GB, free: 19.35 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.345429954999418] Failed to read output from testmodel.py, exit status != 0: 13.63978787099768 13.661269728 13.459478521 Calling exit ...