Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001422/0.001422, 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/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.001893/0.001893, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.002569/0.002569, allocations: 291.7 kB / 312.7 MB, free: 2.609 MB / 238.1 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 1.256/1.256, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002968/0.002968, allocations: 105.1 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1582, allocations: 95.38 MB / 0.8327 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04551/0.2037, allocations: 33.76 MB / 0.8656 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.2239, allocations: 11.54 MB / 0.8769 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003489/0.2274, allocations: 206.5 kB / 0.8771 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.2393, allocations: 4.281 MB / 0.8813 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.246, allocations: 2.096 MB / 0.8833 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.2531, allocations: 2.41 MB / 0.8857 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.2645, allocations: 8.461 MB / 0.8939 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.275, allocations: 6.157 MB / 0.8999 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006886/0.2818, allocations: 3.864 MB / 0.9037 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007832/0.2897, allocations: 4.158 MB / 0.9078 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00249/0.2922, allocations: 0.7773 MB / 0.9085 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/0.2976, allocations: 1.9 MB / 0.9104 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004761/0.3024, allocations: 3.137 MB / 0.9135 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00516/0.3076, allocations: 2.747 MB / 0.9161 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.3241, allocations: 12.06 MB / 0.9279 GB, free: 6.375 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3241, allocations: 0 / 0.9279 GB, free: 6.375 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3241, allocations: 4 kB / 0.9279 GB, free: 6.371 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003118/0.3244, allocations: 0 / 0.9279 GB, free: 6.371 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01419/0.3386, allocations: 5.867 MB / 0.9337 GB, free: 452 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3387, allocations: 9.344 kB / 0.9337 GB, free: 444 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/0.34, allocations: 0.8051 MB / 0.9345 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/0.3458, allocations: 1.086 MB / 0.9355 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008488/0.3543, allocations: 3.426 MB / 0.9389 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.3547, allocations: 407.5 kB / 0.9392 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.3559, allocations: 0.5471 MB / 0.9398 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/0.3727, allocations: 9.38 MB / 0.9489 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.3729, allocations: 23.77 kB / 0.949 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006588/0.3735, allocations: 236 kB / 0.9492 GB, free: 60 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000424/0.374, allocations: 354.8 kB / 0.9495 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.3872, allocations: 6.822 MB / 0.9562 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3745/0.7616, allocations: 25.12 MB / 0.9807 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.7652, allocations: 2.294 MB / 0.983 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.7675, allocations: 1.777 MB / 0.9847 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.652e-05/0.7676, allocations: 20.69 kB / 0.9847 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.7676, allocations: 52.03 kB / 0.9848 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.047e-06/0.7676, allocations: 0 / 0.9848 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02408/0.7917, allocations: 9.689 MB / 0.9942 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.7917, allocations: 71.31 kB / 0.9943 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.7937, allocations: 1.567 MB / 0.9958 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.7939, allocations: 56.7 kB / 0.9959 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.7949, allocations: 2.319 MB / 0.9981 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.7953, allocations: 0.6606 MB / 0.9988 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/0.7959, allocations: 406.6 kB / 0.9992 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.811e-05/0.7959, allocations: 306.6 kB / 0.9995 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.7974, allocations: 1.174 MB / 1.001 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.7991, allocations: 1.893 MB / 1.002 GB, free: 119 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.8022, allocations: 3.369 MB / 1.006 GB, free: 117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.8023, allocations: 7.875 kB / 1.006 GB, free: 117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006323/0.8086, allocations: 4.549 MB / 1.01 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.8086, allocations: 14.91 kB / 1.01 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.8086, allocations: 18.88 kB / 1.01 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.8117, allocations: 1.578 MB / 1.012 GB, free: 114.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.8128, allocations: 356 kB / 1.012 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/0.83, allocations: 17.95 MB / 1.03 GB, free: 99.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.8319, allocations: 115.9 kB / 1.03 GB, free: 99.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.832, allocations: 99.98 kB / 1.03 GB, free: 99.75 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002355/0.8344, allocations: 1.895 MB / 1.032 GB, free: 97.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.8347, allocations: 236.3 kB / 1.032 GB, free: 97.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/0.8401, allocations: 4.043 MB / 1.036 GB, free: 93.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.8402, allocations: 20 kB / 1.036 GB, free: 93.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/0.8402, allocations: 16 kB / 1.036 GB, free: 93.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.8402, allocations: 11.95 kB / 1.036 GB, free: 93.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.8521, allocations: 8.662 MB / 1.044 GB, free: 84.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.8521, allocations: 4 kB / 1.044 GB, free: 84.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.8528, allocations: 183.7 kB / 1.045 GB, free: 84.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002835/0.8557, allocations: 1.357 MB / 1.046 GB, free: 83.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.8558, allocations: 34.84 kB / 1.046 GB, free: 83.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/0.8717, allocations: 16.73 MB / 1.062 GB, free: 65.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.8717, allocations: 11.94 kB / 1.062 GB, free: 65.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.8771, allocations: 4.028 MB / 1.066 GB, free: 61.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.8785, allocations: 478.3 kB / 1.067 GB, free: 61.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.8787, allocations: 43.92 kB / 1.067 GB, free: 61.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/0.8796, allocations: 83.89 kB / 1.067 GB, free: 61.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/0.88, allocations: 169.6 kB / 1.067 GB, free: 61.08 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.395e-05/0.8801, allocations: 55.92 kB / 1.067 GB, free: 61.03 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001057/0.8812, allocations: 1.001 MB / 1.068 GB, free: 60 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8812, allocations: 2.344 kB / 1.068 GB, free: 60 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003343/0.8845, allocations: 0.9844 MB / 1.069 GB, free: 59.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005425/0.89, allocations: 4.631 MB / 1.073 GB, free: 54.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00542/0.8954, allocations: 4.166 MB / 1.078 GB, free: 50.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.8954, allocations: 5 kB / 1.078 GB, free: 50.08 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/0.8987, allocations: 2.585 MB / 1.08 GB, free: 47.45 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.9017, allocations: 0.7887 MB / 1.081 GB, free: 46.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03471/0.9364, allocations: 27 MB / 1.107 GB, free: 18.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003752/0.9402, allocations: 3.039 MB / 1.11 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001251/0.9414, allocations: 471.9 kB / 1.111 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/0.943, allocations: 1.784 MB / 1.112 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of SimCode: time 1.173e-06/0.943, allocations: 0 / 1.112 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/1.135, allocations: 78.62 MB / 1.189 GB, free: 15.67 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.87, allocations: 11.38 kB / 1.189 GB, free: 15.66 MB / 0.795 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.206061373930424] Failed to read output from testmodel.py, exit status != 0: 15.031308923382312 15.060920798 14.731184083 Calling exit ...