Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001239/0.001239, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001805/0.001805, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9602/0.9602, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.962/1.962, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 177] 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_L_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 72.12 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7744, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02388/0.7983, allocations: 33.77 MB / 1.385 GB, free: 15.84 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.8117, allocations: 11.54 MB / 1.397 GB, free: 4.27 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.8141, allocations: 210.4 kB / 1.397 GB, free: 4.062 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.004855/0.819, allocations: 4.264 MB / 1.401 GB, free: 15.79 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.823, allocations: 2.096 MB / 1.403 GB, free: 13.68 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.8275, allocations: 2.407 MB / 1.405 GB, free: 11.28 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.006866/0.8343, allocations: 8.457 MB / 1.414 GB, free: 2.797 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005875/0.8402, allocations: 6.171 MB / 1.42 GB, free: 12.51 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.8448, allocations: 3.876 MB / 1.424 GB, free: 8.621 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004482/0.8493, allocations: 4.154 MB / 1.428 GB, free: 4.453 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0008857/0.8502, allocations: 0.7852 MB / 1.428 GB, free: 3.668 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.853, allocations: 1.896 MB / 1.43 GB, free: 1.77 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.002203/0.8552, allocations: 3.137 MB / 1.433 GB, free: 14.62 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.8576, allocations: 2.747 MB / 1.436 GB, free: 11.87 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.008647/0.8662, allocations: 12.07 MB / 1.448 GB, free: 15.76 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.8662, allocations: 0 / 1.448 GB, free: 15.76 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.797e-06/0.8662, allocations: 0 / 1.448 GB, free: 15.76 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.000237/0.8665, allocations: 0 / 1.448 GB, free: 15.76 MB / 1.135 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.008888/0.8754, allocations: 5.859 MB / 1.453 GB, free: 9.84 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.8754, allocations: 12.92 kB / 1.453 GB, free: 9.828 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007326/0.8761, allocations: 0.8051 MB / 1.454 GB, free: 9.012 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.8796, allocations: 1.098 MB / 1.455 GB, free: 7.91 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/0.8835, allocations: 3.407 MB / 1.459 GB, free: 4.438 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.8837, allocations: 415.5 kB / 1.459 GB, free: 4.031 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005084/0.8842, allocations: 0.5432 MB / 1.46 GB, free: 3.488 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009613/0.8938, allocations: 9.376 MB / 1.469 GB, free: 9.719 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.619e-05/0.8939, allocations: 27.78 kB / 1.469 GB, free: 9.691 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003603/0.8942, allocations: 247.9 kB / 1.469 GB, free: 9.449 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000226/0.8944, allocations: 346.8 kB / 1.469 GB, free: 9.109 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007434/0.9019, allocations: 6.818 MB / 1.476 GB, free: 2.281 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02331/0.9252, allocations: 25.12 MB / 1.501 GB, free: 8.535 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.9274, allocations: 2.3 MB / 1.503 GB, free: 6.242 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.929, allocations: 1.771 MB / 1.505 GB, free: 4.473 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/0.9291, allocations: 22 kB / 1.505 GB, free: 4.449 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.9291, allocations: 52.55 kB / 1.505 GB, free: 4.391 MB / 1.182 GB Notification: Performance of pre-optimization done (n=179): time 4.107e-06/0.9291, allocations: 0 / 1.505 GB, free: 4.391 MB / 1.182 GB Notification: Performance of matching and sorting (n=182): time 0.01467/0.9438, allocations: 9.683 MB / 1.514 GB, free: 10.69 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.9438, allocations: 73.34 kB / 1.514 GB, free: 10.61 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.9453, allocations: 1.573 MB / 1.516 GB, free: 8.988 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/0.9454, allocations: 57.7 kB / 1.516 GB, free: 8.926 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.9465, allocations: 2.324 MB / 1.518 GB, free: 6.578 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.9469, allocations: 0.6623 MB / 1.519 GB, free: 5.91 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.9473, allocations: 412 kB / 1.519 GB, free: 5.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.9474, allocations: 305.1 kB / 1.519 GB, free: 5.199 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.9485, allocations: 1.179 MB / 1.52 GB, free: 4.016 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.9499, allocations: 1.881 MB / 1.522 GB, free: 1.816 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.9526, allocations: 3.371 MB / 1.526 GB, free: 14.13 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.9527, allocations: 8 kB / 1.526 GB, free: 14.12 MB / 1.214 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004743/0.9574, allocations: 4.531 MB / 1.53 GB, free: 9.57 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.9574, allocations: 16.94 kB / 1.53 GB, free: 9.555 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.9575, allocations: 24 kB / 1.53 GB, free: 9.531 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.9596, allocations: 1.587 MB / 1.532 GB, free: 7.938 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.9602, allocations: 343.4 kB / 1.532 GB, free: 7.602 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.9744, allocations: 17.94 MB / 1.549 GB, free: 5.203 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.9756, allocations: 119.9 kB / 1.55 GB, free: 5.086 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.9757, allocations: 96 kB / 1.55 GB, free: 4.992 MB / 1.229 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.002734/0.9785, allocations: 1.894 MB / 1.552 GB, free: 3.086 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.9787, allocations: 234.5 kB / 1.552 GB, free: 2.855 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.9829, allocations: 4.036 MB / 1.556 GB, free: 14.79 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.9829, allocations: 20 kB / 1.556 GB, free: 14.77 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9829, allocations: 16 kB / 1.556 GB, free: 14.76 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.9829, allocations: 11.91 kB / 1.556 GB, free: 14.75 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00931/0.9922, allocations: 8.674 MB / 1.564 GB, free: 5.922 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.9922, allocations: 4.062 kB / 1.564 GB, free: 5.918 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.9926, allocations: 188 kB / 1.564 GB, free: 5.734 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.9946, allocations: 1.341 MB / 1.566 GB, free: 4.383 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/0.9947, allocations: 44 kB / 1.566 GB, free: 4.34 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.008, allocations: 16.74 MB / 1.582 GB, free: 3.148 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.008, allocations: 8 kB / 1.582 GB, free: 3.141 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/1.012, allocations: 4.036 MB / 1.586 GB, free: 15.02 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/1.013, allocations: 474.4 kB / 1.586 GB, free: 14.55 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.013, allocations: 40 kB / 1.587 GB, free: 14.51 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/1.013, allocations: 87.89 kB / 1.587 GB, free: 14.43 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.014, allocations: 169.5 kB / 1.587 GB, free: 14.26 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/1.014, allocations: 48 kB / 1.587 GB, free: 14.21 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.0009976/1.015, allocations: 1.005 MB / 1.588 GB, free: 13.18 MB / 1.276 GB Notification: Performance of sort global known variables: time 9e-08/1.015, allocations: 0 / 1.588 GB, free: 13.18 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.002703/1.018, allocations: 0.9844 MB / 1.589 GB, free: 12.2 MB / 1.276 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.00421/1.022, allocations: 4.635 MB / 1.593 GB, free: 7.465 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.004204/1.026, allocations: 4.17 MB / 1.597 GB, free: 3.246 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.026, allocations: 4 kB / 1.597 GB, free: 3.242 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.028, allocations: 2.569 MB / 1.6 GB, free: 0.6211 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.03, allocations: 0.7822 MB / 1.601 GB, free: 15.87 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/1.057, allocations: 27.03 MB / 1.627 GB, free: 3.746 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/1.06, allocations: 3.035 MB / 1.63 GB, free: 0.668 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0009848/1.061, allocations: 467.8 kB / 1.63 GB, free: 212 kB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.062, allocations: 1.788 MB / 1.632 GB, free: 14.41 MB / 1.323 GB Notification: Performance of SimCode: time 1.503e-06/1.062, allocations: 0 / 1.632 GB, free: 14.41 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/1.219, allocations: 78.57 MB / 1.709 GB, free: 0.8555 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/10.01, allocations: 11.98 kB / 1.709 GB, free: 0.8438 MB / 1.385 GB " [Timeout remaining time 289] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.54103231523186]