Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.000864/0.000864, allocations: 80.45 kB / 19.96 MB, free: 4.59 MB / 18.57 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.0008781/0.0008781, allocations: 173.2 kB / 23.24 MB, free: 1.312 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.9196/0.9196, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.784/1.784, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.773e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02804/0.02807, allocations: 35.66 MB / 1.036 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5165/0.5446, allocations: 10.95 MB / 1.046 GB, free: 51.24 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.5482, allocations: 202.5 kB / 1.046 GB, free: 51.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005615/0.5538, allocations: 4.389 MB / 1.051 GB, free: 51.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.559, allocations: 2.404 MB / 1.053 GB, free: 50.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.5632, allocations: 2.189 MB / 1.055 GB, free: 50.66 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.009829/0.573, allocations: 9.461 MB / 1.064 GB, free: 48.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007832/0.5808, allocations: 6.354 MB / 1.071 GB, free: 45.87 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008367/0.5892, allocations: 5.774 MB / 1.076 GB, free: 43.43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00652/0.5957, allocations: 4.189 MB / 1.08 GB, free: 42.44 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.5985, allocations: 0.8228 MB / 1.081 GB, free: 42.44 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005015/0.6035, allocations: 1.519 MB / 1.083 GB, free: 42.3 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00522/0.6087, allocations: 3.373 MB / 1.086 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.008049/0.6168, allocations: 2.567 MB / 1.088 GB, free: 39.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.6369, allocations: 12.56 MB / 1.101 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6369, allocations: 0 / 1.101 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6369, allocations: 1.062 kB / 1.101 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005016/0.6374, allocations: 0 / 1.101 GB, free: 36.16 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02106/0.6585, allocations: 6.335 MB / 1.107 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.6585, allocations: 11 kB / 1.107 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003733/0.6623, allocations: 0.8239 MB / 1.108 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006256/0.6685, allocations: 1.114 MB / 1.109 GB, free: 31.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008889/0.6774, allocations: 3.569 MB / 1.112 GB, free: 30.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/0.6778, allocations: 423.4 kB / 1.113 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/0.6805, allocations: 0.5425 MB / 1.113 GB, free: 30.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/0.7044, allocations: 10.29 MB / 1.123 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.7046, allocations: 19.72 kB / 1.123 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001932/0.7066, allocations: 254.7 kB / 1.124 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004866/0.7071, allocations: 424.1 kB / 1.124 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.721, allocations: 7.116 MB / 1.131 GB, free: 22.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03449/0.7554, allocations: 26.23 MB / 1.156 GB, free: 3.539 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.7587, allocations: 2.896 MB / 1.159 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.7605, allocations: 1.949 MB / 1.161 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.7606, allocations: 21.09 kB / 1.161 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.7607, allocations: 59.44 kB / 1.161 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 5.45e-06/0.7607, allocations: 0 / 1.161 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.0165/0.7772, allocations: 10.28 MB / 1.171 GB, free: 11.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.7772, allocations: 72.91 kB / 1.171 GB, free: 11.26 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.7794, allocations: 2.053 MB / 1.173 GB, free: 10.13 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.7797, allocations: 64.92 kB / 1.173 GB, free: 10.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.7809, allocations: 2.471 MB / 1.176 GB, free: 7.902 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005557/0.7814, allocations: 0.7536 MB / 1.177 GB, free: 7.254 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.7819, allocations: 483.2 kB / 1.177 GB, free: 6.906 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.782, allocations: 309.1 kB / 1.177 GB, free: 6.602 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.7837, allocations: 1.368 MB / 1.179 GB, free: 5.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.7853, allocations: 2.108 MB / 1.181 GB, free: 2.809 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.7886, allocations: 3.765 MB / 1.184 GB, free: 14.74 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.7886, allocations: 10.34 kB / 1.184 GB, free: 14.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005826/0.7944, allocations: 5.027 MB / 1.189 GB, free: 9.684 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.7945, allocations: 16 kB / 1.189 GB, free: 9.668 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.7945, allocations: 24 kB / 1.189 GB, free: 9.645 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/0.7966, allocations: 1.576 MB / 1.191 GB, free: 8.062 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.7976, allocations: 455.2 kB / 1.191 GB, free: 7.617 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/0.814, allocations: 17.91 MB / 1.209 GB, free: 5.266 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.8162, allocations: 147.9 kB / 1.209 GB, free: 5.121 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.8165, allocations: 111.9 kB / 1.209 GB, free: 5.012 MB / 1.042 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003576/0.8201, allocations: 1.944 MB / 1.211 GB, free: 3.059 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/0.8208, allocations: 302.2 kB / 1.211 GB, free: 2.762 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.8257, allocations: 4.396 MB / 1.216 GB, free: 14.34 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.8257, allocations: 20 kB / 1.216 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.8258, allocations: 20 kB / 1.216 GB, free: 14.3 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8258, allocations: 11.95 kB / 1.216 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.838, allocations: 9.167 MB / 1.225 GB, free: 5.02 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.838, allocations: 8.062 kB / 1.225 GB, free: 5.012 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.8385, allocations: 243.6 kB / 1.225 GB, free: 4.773 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.8406, allocations: 1.42 MB / 1.226 GB, free: 3.344 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.8407, allocations: 44 kB / 1.226 GB, free: 3.301 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.8562, allocations: 17.88 MB / 1.244 GB, free: 0.9688 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8562, allocations: 7.938 kB / 1.244 GB, free: 0.9609 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005523/0.8617, allocations: 4.484 MB / 1.248 GB, free: 12.39 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/0.8635, allocations: 0.5807 MB / 1.249 GB, free: 11.82 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/0.8639, allocations: 51.91 kB / 1.249 GB, free: 11.77 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/0.8648, allocations: 115.9 kB / 1.249 GB, free: 11.65 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.8652, allocations: 189.5 kB / 1.249 GB, free: 11.46 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/0.8653, allocations: 64 kB / 1.249 GB, free: 11.4 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001404/0.8667, allocations: 1.319 MB / 1.25 GB, free: 10.07 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8667, allocations: 0 / 1.25 GB, free: 10.07 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003034/0.8697, allocations: 1.144 MB / 1.251 GB, free: 8.93 MB / 1.089 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004937/0.8747, allocations: 5.098 MB / 1.256 GB, free: 3.73 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005029/0.8797, allocations: 4.541 MB / 1.261 GB, free: 15.18 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.8797, allocations: 4 kB / 1.261 GB, free: 15.18 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.8829, allocations: 2.803 MB / 1.264 GB, free: 12.32 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/0.8857, allocations: 0.9021 MB / 1.265 GB, free: 11.45 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0439/0.9296, allocations: 30.63 MB / 1.294 GB, free: 11.61 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003828/0.9334, allocations: 3.159 MB / 1.298 GB, free: 8.414 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001533/0.9349, allocations: 0.5595 MB / 1.298 GB, free: 7.848 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/0.9368, allocations: 1.949 MB / 1.3 GB, free: 5.898 MB / 1.135 GB Notification: Performance of SimCode: time 1.633e-06/0.9368, allocations: 0 / 1.3 GB, free: 5.898 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/1.18, allocations: 90.39 MB / 1.388 GB, free: 13.02 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.197/10.38, allocations: 13.67 kB / 1.388 GB, free: 13.02 MB / 1.229 GB " [Timeout remaining time 289] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.21555913798511]