Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008274/0.0008274, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008423/0.0008423, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001413/0.001413, allocations: 233.2 kB / 259.4 MB, free: 13.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6539/0.6539, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.857e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.2526/0.2526, allocations: 5.206 MB / 0.6514 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.2557, allocations: 2.567 MB / 0.6539 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.256, allocations: 34.44 kB / 0.6539 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2571, allocations: 0.6769 MB / 0.6546 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.2579, allocations: 441.6 kB / 0.655 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.2586, allocations: 401.6 kB / 0.6554 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007984/0.2594, allocations: 0.9822 MB / 0.6563 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.2599, allocations: 375.9 kB / 0.6567 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005384/0.2604, allocations: 0.5232 MB / 0.6572 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.2608, allocations: 366.6 kB / 0.6576 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.2609, allocations: 48.09 kB / 0.6576 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.2614, allocations: 330.1 kB / 0.6579 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.2617, allocations: 263.8 kB / 0.6582 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.2618, allocations: 241.8 kB / 0.6584 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.2628, allocations: 0.9946 MB / 0.6594 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.2628, allocations: 2.688 kB / 0.6594 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.549e-06/0.2628, allocations: 0 / 0.6594 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.2628, allocations: 0 / 0.6594 GB, free: 50.86 MB / 0.5573 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.001139/0.264, allocations: 0.9124 MB / 0.6603 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.264, allocations: 12.5 kB / 0.6603 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/0.2641, allocations: 92.48 kB / 0.6604 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.2649, allocations: 204.2 kB / 0.6606 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.2654, allocations: 462.6 kB / 0.661 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.2655, allocations: 32.03 kB / 0.661 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2656, allocations: 57.73 kB / 0.6611 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.2665, allocations: 0.9764 MB / 0.662 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2665, allocations: 5.766 kB / 0.662 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.2666, allocations: 28.19 kB / 0.6621 GB, free: 49.13 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.2667, allocations: 63.77 kB / 0.6621 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.2674, allocations: 0.5749 MB / 0.6627 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.2698, allocations: 3.57 MB / 0.6662 GB, free: 46.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.2702, allocations: 276.8 kB / 0.6664 GB, free: 46.03 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.2704, allocations: 216 kB / 0.6666 GB, free: 45.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.2704, allocations: 4.812 kB / 0.6667 GB, free: 45.94 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2705, allocations: 44.38 kB / 0.6667 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.2705, allocations: 0 / 0.6667 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.003134/0.2736, allocations: 2.323 MB / 0.669 GB, free: 44.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.2736, allocations: 56.06 kB / 0.669 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.274, allocations: 473.5 kB / 0.6695 GB, free: 44.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.274, allocations: 37.86 kB / 0.6695 GB, free: 44.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.2741, allocations: 345.4 kB / 0.6698 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.2742, allocations: 154.5 kB / 0.67 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2743, allocations: 99.42 kB / 0.6701 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.2743, allocations: 367.7 kB / 0.6704 GB, free: 43.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2746, allocations: 240 kB / 0.6707 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.2749, allocations: 407.2 kB / 0.671 GB, free: 43.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.2754, allocations: 0.6814 MB / 0.6717 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2754, allocations: 2.062 kB / 0.6717 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009602/0.2764, allocations: 0.9104 MB / 0.6726 GB, free: 42.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2764, allocations: 11.31 kB / 0.6726 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2764, allocations: 7.281 kB / 0.6726 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.2768, allocations: 220 kB / 0.6728 GB, free: 42.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.2771, allocations: 119.4 kB / 0.6729 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.2795, allocations: 5.007 MB / 0.6778 GB, free: 38.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.2798, allocations: 29.98 kB / 0.6779 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.2798, allocations: 22.81 kB / 0.6779 GB, free: 38.21 MB / 0.5573 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.0002144/0.28, allocations: 222.4 kB / 0.6781 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.2801, allocations: 57.19 kB / 0.6782 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.2809, allocations: 0.7652 MB / 0.6789 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2809, allocations: 8.156 kB / 0.6789 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2809, allocations: 3.656 kB / 0.6789 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.281, allocations: 2.109 kB / 0.6789 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.2824, allocations: 1.398 MB / 0.6803 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2824, allocations: 7.562 kB / 0.6803 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.2826, allocations: 67.34 kB / 0.6803 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/0.283, allocations: 202.2 kB / 0.6805 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.283, allocations: 19.03 kB / 0.6806 GB, free: 36.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.2858, allocations: 4.926 MB / 0.6854 GB, free: 32.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2858, allocations: 6.281 kB / 0.6854 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.287, allocations: 1.121 MB / 0.6865 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.2872, allocations: 88.52 kB / 0.6866 GB, free: 32.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.2872, allocations: 19.16 kB / 0.6866 GB, free: 32.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2874, allocations: 32.2 kB / 0.6866 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.2875, allocations: 38.17 kB / 0.6866 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.2875, allocations: 13.41 kB / 0.6867 GB, free: 32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002759/0.2878, allocations: 314.6 kB / 0.687 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2878, allocations: 0 / 0.687 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006003/0.2884, allocations: 166.8 kB / 0.6871 GB, free: 31.84 MB / 0.5573 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.001313/0.2897, allocations: 1.688 MB / 0.6888 GB, free: 30.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.2907, allocations: 0.9618 MB / 0.6897 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2907, allocations: 1.375 kB / 0.6897 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.2913, allocations: 0.6715 MB / 0.6904 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.2919, allocations: 179.9 kB / 0.6905 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00679/0.2987, allocations: 5.565 MB / 0.696 GB, free: 26.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2991, allocations: 349.1 kB / 0.6963 GB, free: 26.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004023/0.2995, allocations: 113.9 kB / 0.6964 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.2997, allocations: 210.8 kB / 0.6966 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/0.2997, allocations: 1.375 kB / 0.6966 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/0.3418, allocations: 15.76 MB / 0.712 GB, free: 20.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.377, allocations: 1.812 kB / 0.712 GB, free: 20.15 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.018185104243457] Failed to read output from testmodel.py, exit status != 0: 7.4683743212372065 7.476418907 7.211819066 Calling exit ...