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.002225/0.002225, allocations: 113.3 kB / 17.12 MB, free: 6.047 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.002439/0.002439, allocations: 208.3 kB / 20.09 MB, free: 3.098 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 / 253.5 MB, free: 15.08 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.9971/0.9971, allocations: 150 MB / 459.5 MB, free: 5.281 MB / 350.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.002009/0.002009, allocations: 77.75 kB / 0.6361 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2089, allocations: 89.13 MB / 0.7232 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008367/0.2173, allocations: 5.549 MB / 0.7286 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.2225, allocations: 2.689 MB / 0.7312 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.2231, allocations: 27.75 kB / 0.7312 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.225, allocations: 0.6807 MB / 0.7319 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.2263, allocations: 417.8 kB / 0.7323 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2274, allocations: 401.5 kB / 0.7327 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.2286, allocations: 0.963 MB / 0.7336 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.2292, allocations: 366.6 kB / 0.734 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/0.2298, allocations: 382.6 kB / 0.7343 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.2304, allocations: 430.3 kB / 0.7347 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.51e-05/0.2305, allocations: 48 kB / 0.7348 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007209/0.2312, allocations: 367.2 kB / 0.7351 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.2315, allocations: 263.2 kB / 0.7354 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.2319, allocations: 342.3 kB / 0.7357 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.2332, allocations: 0.9767 MB / 0.7367 GB, free: 6.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2332, allocations: 3.938 kB / 0.7367 GB, free: 6.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2332, allocations: 4 kB / 0.7367 GB, free: 6.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.2332, allocations: 0 / 0.7367 GB, free: 6.121 MB / 0.545 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.001778/0.235, allocations: 0.9899 MB / 0.7376 GB, free: 5.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.235, allocations: 8.031 kB / 0.7377 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.2351, allocations: 110.6 kB / 0.7378 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.2366, allocations: 200.2 kB / 0.738 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.2374, allocations: 0.5183 MB / 0.7385 GB, free: 4.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.2374, allocations: 37.38 kB / 0.7385 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.2376, allocations: 52.55 kB / 0.7385 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.2389, allocations: 0.8316 MB / 0.7394 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.2389, allocations: 7.953 kB / 0.7394 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.239, allocations: 24 kB / 0.7394 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/0.2392, allocations: 60.95 kB / 0.7394 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.2401, allocations: 0.5774 MB / 0.74 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.2452, allocations: 4.578 MB / 0.7445 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.2457, allocations: 275.3 kB / 0.7447 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.246, allocations: 209.3 kB / 0.7449 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2461, allocations: 4.281 kB / 0.7449 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2461, allocations: 38.78 kB / 0.745 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/0.2461, allocations: 0 / 0.745 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.006241/0.2523, allocations: 2.639 MB / 0.7476 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2524, allocations: 59.34 kB / 0.7476 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.253, allocations: 462 kB / 0.7481 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.253, allocations: 29.7 kB / 0.7481 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.2533, allocations: 344.5 kB / 0.7484 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2534, allocations: 154.7 kB / 0.7486 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.2536, allocations: 114.2 kB / 0.7487 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2538, allocations: 358.8 kB / 0.749 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.2542, allocations: 241 kB / 0.7492 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.2548, allocations: 410.1 kB / 0.7496 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009645/0.2558, allocations: 0.6777 MB / 0.7503 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2558, allocations: 4 kB / 0.7503 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00176/0.2575, allocations: 0.9173 MB / 0.7512 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2575, allocations: 4 kB / 0.7512 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2576, allocations: 8 kB / 0.7512 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000881/0.2584, allocations: 222.8 kB / 0.7514 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.259, allocations: 115.8 kB / 0.7515 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.2653, allocations: 5.34 MB / 0.7567 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.2659, allocations: 35.97 kB / 0.7568 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.2659, allocations: 27.94 kB / 0.7568 GB, free: 192 kB / 0.5606 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.000461/0.2664, allocations: 229 kB / 0.757 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.2665, allocations: 63.56 kB / 0.7571 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.2683, allocations: 0.7657 MB / 0.7578 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2683, allocations: 4 kB / 0.7578 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2683, allocations: 4 kB / 0.7578 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2683, allocations: 0 / 0.7578 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.2711, allocations: 1.486 MB / 0.7593 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2711, allocations: 4 kB / 0.7593 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.2715, allocations: 63.94 kB / 0.7594 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.2723, allocations: 210.5 kB / 0.7596 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.2723, allocations: 8.188 kB / 0.7596 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.278, allocations: 5.278 MB / 0.7647 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.278, allocations: 4.172 kB / 0.7647 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.28, allocations: 1.133 MB / 0.7658 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.2804, allocations: 172.7 kB / 0.766 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.2805, allocations: 15.98 kB / 0.766 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.2808, allocations: 23.97 kB / 0.766 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2809, allocations: 31.95 kB / 0.7661 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.281, allocations: 16 kB / 0.7661 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004015/0.2814, allocations: 306.9 kB / 0.7664 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2814, allocations: 4 kB / 0.7664 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007924/0.2822, allocations: 172 kB / 0.7665 GB, free: 5.617 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.00232/0.2845, allocations: 1.692 MB / 0.7682 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.2863, allocations: 0.969 MB / 0.7691 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2863, allocations: 0 / 0.7691 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2874, allocations: 0.6718 MB / 0.7698 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.2883, allocations: 181.5 kB / 0.77 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.2977, allocations: 5.604 MB / 0.7754 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.2987, allocations: 0.9532 MB / 0.7764 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005836/0.2993, allocations: 117 kB / 0.7765 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.2997, allocations: 211.4 kB / 0.7767 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.2997, allocations: 4 kB / 0.7767 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.3566, allocations: 14.2 MB / 0.7905 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 6.234 kB / 0.7906 GB, free: 12.84 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.702818102901801] Failed to read output from testmodel.py, exit status != 0: 11.620694651966915 11.644558964 11.406907996 Calling exit ...