Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0009049/0.0009049, allocations: 100.3 kB / 19.72 MB, free: 428 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.001014/0.001014, allocations: 215.3 kB / 23.02 MB, free: 2.969 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 1/1, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.949/1.949, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009269/0.0009269, allocations: 67.91 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7653, allocations: 180 MB / 1.352 GB, free: 1.57 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006165/0.7715, allocations: 5.991 MB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.775, allocations: 3.161 MB / 1.361 GB, free: 8.387 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.7754, allocations: 47.56 kB / 1.361 GB, free: 8.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.7767, allocations: 0.927 MB / 1.362 GB, free: 7.41 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008411/0.7776, allocations: 0.4897 MB / 1.363 GB, free: 6.918 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.7786, allocations: 0.4922 MB / 1.363 GB, free: 6.426 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008369/0.7795, allocations: 1.1 MB / 1.364 GB, free: 5.32 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007515/0.7802, allocations: 0.5162 MB / 1.365 GB, free: 4.805 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.7807, allocations: 458.4 kB / 1.365 GB, free: 4.355 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.7811, allocations: 466.1 kB / 1.366 GB, free: 3.898 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.7812, allocations: 60 kB / 1.366 GB, free: 3.84 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.7817, allocations: 439 kB / 1.366 GB, free: 3.41 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.7819, allocations: 295.1 kB / 1.367 GB, free: 3.121 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.7821, allocations: 334.4 kB / 1.367 GB, free: 2.793 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008718/0.7829, allocations: 1.195 MB / 1.368 GB, free: 1.594 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7829, allocations: 0 / 1.368 GB, free: 1.594 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7829, allocations: 4 kB / 1.368 GB, free: 1.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.7829, allocations: 3.984 kB / 1.368 GB, free: 1.586 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001343/0.7843, allocations: 1.003 MB / 1.369 GB, free: 0.5469 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7843, allocations: 8.922 kB / 1.369 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.734e-05/0.7844, allocations: 122.7 kB / 1.369 GB, free: 420 kB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/0.7853, allocations: 228.1 kB / 1.369 GB, free: 192 kB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.7859, allocations: 0.5205 MB / 1.37 GB, free: 15.64 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.7859, allocations: 49.61 kB / 1.37 GB, free: 15.59 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.786, allocations: 64.31 kB / 1.37 GB, free: 15.53 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/0.7869, allocations: 1.134 MB / 1.371 GB, free: 14.26 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.7869, allocations: 7.875 kB / 1.371 GB, free: 14.25 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.787, allocations: 35.98 kB / 1.371 GB, free: 14.22 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/0.787, allocations: 69.27 kB / 1.371 GB, free: 14.15 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.7877, allocations: 0.6879 MB / 1.372 GB, free: 13.46 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.7909, allocations: 4.51 MB / 1.376 GB, free: 8.781 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.7915, allocations: 407.7 kB / 1.377 GB, free: 8.375 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.7919, allocations: 397 kB / 1.377 GB, free: 7.984 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.7919, allocations: 4 kB / 1.377 GB, free: 7.98 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.792, allocations: 38.56 kB / 1.377 GB, free: 7.934 MB / 1.057 GB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.792, allocations: 4 kB / 1.377 GB, free: 7.93 MB / 1.057 GB Notification: Performance of matching and sorting (n=42): time 0.002374/0.7943, allocations: 1.706 MB / 1.379 GB, free: 6.203 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.7944, allocations: 55.41 kB / 1.379 GB, free: 6.137 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.7947, allocations: 474.7 kB / 1.379 GB, free: 5.664 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.7947, allocations: 29.7 kB / 1.379 GB, free: 5.629 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.7949, allocations: 400.1 kB / 1.38 GB, free: 5.234 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.795, allocations: 154.6 kB / 1.38 GB, free: 5.082 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.7951, allocations: 114.2 kB / 1.38 GB, free: 4.965 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7952, allocations: 362.8 kB / 1.38 GB, free: 4.602 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.7954, allocations: 249.1 kB / 1.38 GB, free: 4.359 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.7957, allocations: 453.6 kB / 1.381 GB, free: 3.82 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.7964, allocations: 0.7441 MB / 1.382 GB, free: 2.98 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.7964, allocations: 4 kB / 1.382 GB, free: 2.977 MB / 1.057 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001382/0.7977, allocations: 1.034 MB / 1.383 GB, free: 1.922 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7978, allocations: 8 kB / 1.383 GB, free: 1.914 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7978, allocations: 15.94 kB / 1.383 GB, free: 1.898 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/0.7984, allocations: 315.9 kB / 1.383 GB, free: 1.578 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.7985, allocations: 99.81 kB / 1.383 GB, free: 1.48 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.8034, allocations: 7.027 MB / 1.39 GB, free: 9.988 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8036, allocations: 28.02 kB / 1.39 GB, free: 9.961 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.8036, allocations: 28 kB / 1.39 GB, free: 9.934 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.8039, allocations: 241.6 kB / 1.39 GB, free: 9.688 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.804, allocations: 67.56 kB / 1.39 GB, free: 9.621 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.805, allocations: 0.8847 MB / 1.391 GB, free: 8.711 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.805, allocations: 4 kB / 1.391 GB, free: 8.707 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.805, allocations: 8 kB / 1.391 GB, free: 8.699 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.805, allocations: 3.984 kB / 1.391 GB, free: 8.695 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.8067, allocations: 1.578 MB / 1.393 GB, free: 7.035 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8067, allocations: 4 kB / 1.393 GB, free: 7.031 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.8068, allocations: 39.91 kB / 1.393 GB, free: 6.992 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/0.8073, allocations: 307.3 kB / 1.393 GB, free: 6.68 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.8073, allocations: 12.06 kB / 1.393 GB, free: 6.668 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/0.8122, allocations: 7.024 MB / 1.4 GB, free: 15.19 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8122, allocations: 7.938 kB / 1.4 GB, free: 15.18 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.8132, allocations: 0.9761 MB / 1.401 GB, free: 14.16 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.8134, allocations: 103.6 kB / 1.401 GB, free: 14.05 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.8134, allocations: 8 kB / 1.401 GB, free: 14.05 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.8136, allocations: 23.92 kB / 1.401 GB, free: 14.02 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.8137, allocations: 43.86 kB / 1.401 GB, free: 13.98 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.8137, allocations: 12 kB / 1.401 GB, free: 13.97 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0002556/0.814, allocations: 314.9 kB / 1.401 GB, free: 13.66 MB / 1.089 GB Notification: Performance of sort global known variables: time 7e-08/0.814, allocations: 0 / 1.401 GB, free: 13.66 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0006079/0.8146, allocations: 192 kB / 1.402 GB, free: 13.48 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.8163, allocations: 1.542 MB / 1.403 GB, free: 11.88 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.8177, allocations: 1.153 MB / 1.404 GB, free: 10.67 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8177, allocations: 0 / 1.404 GB, free: 10.67 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.8184, allocations: 0.8343 MB / 1.405 GB, free: 9.789 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.8192, allocations: 205.8 kB / 1.405 GB, free: 9.594 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.8254, allocations: 5.868 MB / 1.411 GB, free: 3.398 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.8257, allocations: 399 kB / 1.411 GB, free: 2.984 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000217/0.8259, allocations: 105.2 kB / 1.411 GB, free: 2.879 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.8261, allocations: 227.4 kB / 1.412 GB, free: 2.656 MB / 1.089 GB Notification: Performance of SimCode: time 1.352e-06/0.8261, allocations: 0 / 1.412 GB, free: 2.656 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/0.9745, allocations: 16.98 MB / 1.428 GB, free: 2.051 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.478/8.453, allocations: 5.031 kB / 1.428 GB, free: 2.051 MB / 1.104 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.339426959864795]